philipp-luettecke / hassio-addons

A simple repository for storing my custom hassio add-ons.
5 stars 6 forks source link

64bit versions - pilight #1

Open RomanKlein777 opened 2 years ago

RomanKlein777 commented 2 years ago

Hello, i was using 32 bit on my previous rPi. now i have upgraded to 8GB 64bit and pilight suddenly stopped working. Now i know why... The pilight was great thing. Can you please recompile it for 64bit ?

philipp-luettecke commented 2 years ago

Hi, actually I am surprised, that anybody except me is using my plugins. 😄 As I am currently writing my masters thesis I do not really have the time to look into this.

But I already have an idea, what the solution for your problem could be.

It is the Base Image, that I used in the Dockerfile: homeassistant/armv7-base-debian:buster. This introduces the armv7 as a base. For the 8GB 64 Bit it would need to be homeassistant/aarch64-base-debian.

https://github.com/home-assistant/docker-base#debian-images

Maybe I can try this out in a free minute.

RomanKlein777 commented 2 years ago

Hi, the plugin is great thing, because eliminates need for additional device for 433Mhz sensors.

Just receiver module. I have tried about 4 pieces. Seems I need to install attiny filter, because I do not receive sensors expected but something else.

Actually your plugin works, i have discovered it after my message. Do not understand how it is possible, on my 64 bit system.

I have rpi4 and running a lot of things (cameras, BLE sensors monitoring, etc..), so about 20% CPU goes to that.

Good luck with your thesis!

here is debug log output: (/home/pilight/source/daemon-dev/daemon.c #644) [Dec 21 10:09:51:820287] DEBUG: possible tfa protocol (/home/pilight/source/daemon-dev/daemon.c #661) [Dec 21 10:09:51:820335] DEBUG: recevied pulse length of 262 (/home/pilight/source/daemon-dev/daemon.c #662) [Dec 21 10:09:51:820353] DEBUG: caught minimum # of repeats 1 of tfa (/home/pilight/source/daemon-dev/daemon.c #663) [Dec 21 10:09:51:820370] DEBUG: called tfa parseRaw() (/home/pilight/source/daemon-dev/libs/pilight/lua_c/wiringx.c #438) [Dec 21 10:09:52:60593] DEBUG: lua wiringx on state #0 (/home/pilight/source/daemon-dev/libs/pilight/lua_c/wiringx.c #438) [Dec 21 10:09:52:310864] DEBUG: lua wiringx on state #0 (/home/pilight/source/daemon-dev/libs/pilight/lua_c/wiringx.c #438) [Dec 21 10:09:52:560815] DEBUG: lua wiringx on state #0

(/home/pilight/source/daemon-dev/libs/pilight/lua_c/wiringx.c #438) [Dec 21 10:10:04:814905] DEBUG: lua wiringx on state #0 (/home/pilight/source/daemon-dev/libs/pilight/lua_c/wiringx.c #438) [Dec 21 10:10:05:65677] DEBUG: lua wiringx on state #0 (/home/pilight/source/daemon-dev/daemon.c #644) [Dec 21 10:10:05:73939] DEBUG: possible alecto_wx500 protocol (/home/pilight/source/daemon-dev/daemon.c #661) [Dec 21 10:10:05:73985] DEBUG: recevied pulse length of 263 (/home/pilight/source/daemon-dev/daemon.c #662) [Dec 21 10:10:05:74003] DEBUG: caught minimum # of repeats 1 of alecto_wx500 (/home/pilight/source/daemon-dev/daemon.c #663) [Dec 21 10:10:05:74018] DEBUG: called alecto_wx500 parseRaw() (/home/pilight/source/daemon-dev/daemon.c #644) [Dec 21 10:10:05:74036] DEBUG: possible alecto_ws1700 protocol (/home/pilight/source/daemon-dev/daemon.c #661) [Dec 21 10:10:05:74053] DEBUG: recevied pulse length of 263 (/home/pilight/source/daemon-dev/daemon.c #662) [Dec 21 10:10:05:74066] DEBUG: caught minimum # of repeats 1 of alecto_ws1700 (/home/pilight/source/daemon-dev/daemon.c #663) [Dec 21 10:10:05:74080] DEBUG: called alecto_ws1700 parseRaw() (/home/pilight/source/daemon-dev/daemon.c #2549) [Dec 21 10:10:05:105598] DEBUG: cpu: 25.369183% (/home/pilight/source/daemon-dev/libs/pilight/lua_c/wiringx.c #438) [Dec 21 10:10:05:315925] DEBUG: lua wiringx on state #0

schluden commented 1 year ago

hey I also use your repository for pilight. Is there any way to use the pilight-receive command within your add-on?

pilight-receive is for getting and listing all surrounding signals. Especially useful for debugging. https://manual.pilight.org/programs/receive.html