Coder Social home page Coder Social logo

lightcamera-openipc's People

Contributors

dirandad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

slim-zombie

lightcamera-openipc's Issues

The signal camera_detection does not respond to the PIR

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:

  • type: custom:button-card
    entity: light.camera_1_light
    state:
    • value: 'off'
      name: Bewegungsmelder
      icon: mdi:motion-sensor
    • value: 'on'
      name: Dauerlicht
      color: rgb(28, 128, 199)
      icon: mdi:lamp
      tap_action:
      action: toggle
  • type: history-graph
    entities:
    • entity: binary_sensor.camera_1_detection
      name: Objekt
  • type: entities
    entities:
    • entity: switch.camera_1_alarmmode
      name: Alarm
      icon: mdi:alarm-light
    • type: custom:slider-entity-row
      entity: number.camera_1_highlightlevel
      name: Hauptlicht
      icon: mdi:lightbulb
    • entity: select.camera_1_ontemporisation
      name: Nachlaufzeit
    • type: custom:slider-entity-row
      entity: number.camera_1_luxsensibility
      name: Licht-Empfindlichkeit
      icon: mdi:sun-angle
    • type: custom:slider-entity-row
      entity: number.camera_1_pirsensibility
      name: PIR-Empfindlichkeit
      icon: mdi:motion-sensor
    • entity: select.camera_1_lowlightduration
      name: Nachtlichtzeit
    • type: custom:slider-entity-row
      entity: number.camera_1_lowlightlevel
      name: Nachtlicht
      icon: mdi:lightbulb-outline
    • entity: button.camera_1_update
      name: Update
    • entity: sensor.camera_1_watchdog
      name: Watchdog
    • entity: binary_sensor.camera_1_detection

After reboot OpenIPC no WLAN Connection no IP Adress

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?

./make_images.sh does not work under Ubuntu 22.04 or 20.04

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

Update firmware using ipctool ends in "Killed" or "Allocation error"

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"

RTSP Stream possible with x264 instead og HEVC with OpenIPC

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?

no able to create the ugrade.hi3518ev300 file

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

An invitation to join the OpenIPC organization

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.

module rtl8188fu not found in modules.dep

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

to
pre-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!

How to connect to UART port?

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.

lightcam-application does not work

The communication via MQTT does not work for me. When I start the lightcam application manually, I get the following message:

LightCam Module to control Light Extension Card, Status Led and configuration
Error to open the file
Loading config file /var/lib/lightcam
===================lightcam configuration=======================
lightmode: 98
alarmmode: 98
pirsensibility: 25
luxsensibility: 23
highlightlevel: 19
ontemporisation: 98
lowlightlevel: 12
lowlightduration: 107

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.