dirandad / lightcamera-openipc Goto Github PK
View Code? Open in Web Editor NEWInstall OpenIPC on Light Camera (Lutec, Steinel)
Install OpenIPC on Light Camera (Lutec, Steinel)
Hello Adrien,
Unfortunately, the signal camera_detection does not work for me. It always stays on when camera_alarmmode is on and always off when camera_alarmmode is off. Camera_detection doesn't seem to react to the PIR at all. Do you have an idea that could be ahead? Changing the camera_alarmode from on to off doesn't seem to have any effect on the lamp either.
Here is my card configuration in Home Assistant for sending and querying data via MQTT:
type: vertical-stack
cards:
After changing the time zone in OPenIPC I was prompted to restart Openipc. After that, the webcam was no longer accessible. Also no more IP address was assigned in the WLAN. Since then, the cam is no longer accessible. What can I do to regain access?
I followed your steps but I'm unable to build the firmware with ipctool. I did not work in Ubuntu 22.04 nor 20.04
./make_images.sh hi3518ev300 ultimate
uImage.hi3516cv500
uImage.hi3516cv500.md5sum
rootfs.squashfs.hi3516cv500
rootfs.squashfs.hi3516cv500.md5sum
Traceback (most recent call last):
File "./upgrade_bundle.py", line 89, in <module>
main()
File "./upgrade_bundle.py", line 85, in main
write_bundle(**vars(args))
File "./upgrade_bundle.py", line 46, in write_bundle
size = os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/u-boot-hi3516cv500.bin'
# the content of /tmp is
ls -l /tmp
total 10116
-rw-r--r-- 1 1001 123 8314880 Feb 5 09:55 rootfs.squashfs.hi3516cv500
-rw-r--r-- 1 1001 123 62 Feb 5 09:55 rootfs.squashfs.hi3516cv500.md5sum
-rw-r--r-- 1 1001 123 2034956 Feb 5 09:48 uImage.hi3516cv500
-rw-r--r-- 1 1001 123 53 Feb 5 09:55 uImage.hi3516cv500.md5sum
Trying to update the firmware using ipctool ends always with an error:
# /tmp/mmcblock0/ipctool upgrade /tmp/mmcblock0/upgrade.hi3518ev300 --force
There was no Sofia process detected
Using '/tmp/mmcblock0/upgrade.hi3518ev300' as upgrade bundle
boot 0xb65bb010, size: 262144 bytes
env 0x63010, size: 65536 bytes
kernel 0xb62ba010, size: 3145728 bytes
Killed
or
# /tmp/mmcblock0/ipctool upgrade /tmp/mmcblock0/upgrade.hi3518ev300 --force
There was no Sofia process detected
Using '/tmp/mmcblock0/upgrade.hi3518ev300' as upgrade bundle
boot 0xb6656010, size: 262144 bytes
env 0x63010, size: 65536 bytes
kernel 0xb6355010, size: 3145728 bytes
Allocation error
Steinel firmware is the latest "2022-12-07"
The upgrade procedure does not work, the card is formatted no firmware is written:
https://github.com/dirandad/lightcamera-openipc/tree/main/L620#2-backup-original-firmware.
I use a 16GB sd card formatted with FAT32 and the 2 files in the root:
https://github.com/dirandad/lightcamera-openipc/tree/main/L620/scripts/sd-steinel
When I wait 5 minutes the card is formatted by the camera and no telnet is active.
Thank you very much for your effort to analyze the camera firmware and bring it to OpenIPC.
I plan to follow your steps with my Steinel 620, but before I need to know if it is possible to change the stream parameters with the OpenIPC firmware and this camera? The original firmware rtsp stream is HEVC and I need x264 because I plan to use the cam for frigate NVR.
What is required to support the light module/PIR sensor?
Unfortunately, the upgrade.hi3518ev300 file cannot be created. I am using the latest versions of make_images.sh and upgrade_bundle.py, but the following error message appears when creating it.
xxx@ubuntuserver:~/ipctool/tools$ ./make_images.sh hi3518ev300 ultimate
find: โ../../openipc-firmware/br-ext-chip-*โ: No such file or directory
Cannot find anything for hi3518ev300
Good afternoon
We are pleased to read your manual and invite you to join the OpenCollective organization on GitHub and get our achive.
Also, if you have a desire, you can migrate and place your materials with us as an administrator of section on your device.
Thank you.
Hello,
I updated the OpenIPC firmware and lost network connection to the device.
Turns out modprobe rtl8188fu
no longer works in the current version and the module that is working is called 8188fu
.
I fixed it by changing
topre-up modprobe rtl8188fu || modprobe 8188fu
(I used ||
just in case they will change it back)
(I didn't do any research on the OpenIPC project if this is a known issue or what the reason is for the change, but thought it may help someone who tries to update or just recently tries to free their L620)
PS: Big thank you for your efforts, great work!
Hello everyone,
does anyone have a picture of how I have to connect the TTL USB adapter to the UART port?
I would like to connect to the u-boot, because unfortunately no WLAN connection is established. I hope this way, I can set the SSID and password via terminal, because the autoconfig.sh file is not executed (although it had worked once). The Camera is already disassembled.
Thank you very much for your great work with this camera.
The communication via MQTT does not work for me. When I start the lightcam application manually, I get the following message:
Opening YAML config file '/etc/lightcam.yml'
============Configuration==============
config.mqtt.server='192.168.178.23'
config.mqtt.port='1883'
config.mqtt.username='tgoetz'
config.mqtt.password='15101965'
config.mqtt.topic='camera1'
config.mqtt.detectortempo='6.000000e+01'
config.serial.port='/dev/ttyAMA0'
config.serial.baudrate='9600'
==========fin Configuration============
Activation GPIO1_4 (1e02 -> 120c0010)...done
Activation GPIO1_6 (1d02 -> 120c0018)...done
Activation GPIO1_7 (1502 -> 120c001c)...done
Activation GPIO0_3 (1000 -> 100c000c)...done
alarm gpio configuration...done
Initialize tty...done
light_update...done
Setting mqtt client...
NetworkInit
NetworkConnect
Cannot open socket and run NetworkConnect on Segmentation fault
EXIT CODE: 139
What am I doing wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.