• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upgrade to jessie+pilight+kernel failed
#1
I recently upgraded my rasperry pi from wheezy + pilight 7.0 + pilight-webgui 7.0 + Kernel 4.1.19+

to jessie + pilight 8.0.4 + pilight-webgui 8.3 + Kernel 4.9.70+

My raspberry model:
Code:
cat /proc/cpuinfo|grep Revision
Revision        : 000e
Revision     Release Date     Model     PCB Revision     Memory     Notes
000e         Q4 2012          B         2.0               512 MB     (Mfg by Sony)
so I assume, the following setting for gpio-platform to be correct

Code:
"gpio-platform": "raspberrypi1b2"

after reading many of the posts, I was not able to get any pilight v8.0 with kernel 4.9.70+ running and had to downgrade back to

Code:
sudo apt-get install pilight-webgui=7.5 pilight=7.0.67-g960219e
sudo rpi-update 52241088c1da59a359110d39c1875cda56496764

jessie + pilight 7.0.67-g960219e + pilight-webgui 7.5 + Kernel 4.4.50+

any idea, on which part I should focus next, to end up with up-to-date kernel and pilight-version?
I'm completely lost (but happy, that at least everything is running again, so I can control my devices with pilight)

thanks for any hint!!!
 
Reply
#2
Can you use code tags as described in the forum rules.
 
Reply
#3
(12-29-2017, 09:02 PM)curlymo Wrote: Can you use code tags as described in the forum rules.

did some re-formatting - hope it is better readable!
 
Reply
#4
So, 8.0.4. didn't work, but why not? What was the error?
And, 7.0.67 also didn't work, but why not? What was the error?
 
Reply
#5
(12-29-2017, 10:09 PM)CDie curlymo Wrote: So, 8.0.4. didn't work, but why not? What was the error?
And, 7.0.67 also didn't work, but why not? What was the error?

7.0.67 IS working - but only with kernel 4.4!

To provide meaningful errors - which is the better approach:
- should I first try to upgrade to kernel 4.9 and stay with pilight 7.0.67
- or should I try to upgrade to pilight 8.0.4 and stay with kernel 4.4?
none of theses two options work ...

thanks for your support!
 
Reply
#6
Doesn't matter, i just want to see error messages stating why pilight doesn't start.
 
Reply
#7
after
Code:
sudo rpi-update
and kernel upgrade to 4.9.73+, pilight 7.0.67-g960219e is not working any longer:
Code:
sudo pilight-daemon -D
[...]
[Jan 01 23:14:41:315464] pilight-daemon: ERROR: hardware not supported
[Jan 01 23:14:41:318984] pilight-daemon: DEBUG: garbage collected wiringX library
[Jan 01 23:14:41:321945] pilight-daemon: ERROR: could not initialize 433gpio hardware module
[...]

Upgrade to pilight 7.0.194-gadc4c79 works perfect:
Code:
sudo apt-get install pilight-webgui=7.5 pilight=7.0.194-gadc4c79
So for me the "kernel"-issue seems to be solved! Cool

But the moment I upgrade to latest pilight version
Code:
sudo apt-get install pilight-webgui=8.3 pilight=8.0.4
the web-gui is still working, no errors in /var/log/pilight.err, but the devices are not reacting any longer  Confused
Code:
sudo pilight-daemon -D
[Jan 02 00:35:21:524073] pilight-daemon: INFO: version v8.0.4
[Jan 02 00:35:21:527649] pilight-daemon: DEBUG: ssdp sent search
[Jan 02 00:35:21:634469] pilight-daemon: INFO: no pilight daemon found, daemonizing
[Jan 02 00:35:21:682203] pilight-daemon: INFO: daemon listening to port: 45047
[Jan 02 00:35:21:692992] pilight-daemon: INFO: secured webserver started on port: 5002 (fd 13)
[Jan 02 00:35:21:696234] pilight-daemon: INFO: regular webserver started on port: 5001 (fd 14)
[Jan 02 00:35:21:700113] pilight-daemon: DEBUG: new thread socket, 1 thread running
[Jan 02 00:35:21:706079] pilight-daemon: DEBUG: new thread ssdp, 2 threads running
[Jan 02 00:35:21:709164] pilight-daemon: DEBUG: new thread sender, 3 threads running
[Jan 02 00:35:21:712443] pilight-daemon: DEBUG: new thread broadcaster, 4 threads running
[Jan 02 00:35:21:716158] pilight-daemon: DEBUG: new thread receive parser, 5 threads running
[Jan 02 00:35:21:719926] pilight-daemon: DEBUG: new thread events client, 6 threads running
[Jan 02 00:35:21:723265] pilight-daemon: DEBUG: new thread events loop, 7 threads running
[Jan 02 00:35:21:726727] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 59676
[Jan 02 00:35:21:729717] pilight-daemon: DEBUG: client fd: 15
[Jan 02 00:35:21:731908] pilight-daemon: DEBUG: client id: 1
[Jan 02 00:35:21:739035] pilight-daemon: DEBUG: ssdp sent search
[Jan 02 00:35:21:742525] pilight-daemon: DEBUG: ssdp sent notify
[Jan 02 00:35:21:845331] pilight-daemon: INFO: new client, ip: 192.168.1.2, port: 53658
[Jan 02 00:35:21:845511] pilight-daemon: DEBUG: client fd: 17
[Jan 02 00:35:21:845609] pilight-daemon: DEBUG: client id: 2
[Jan 02 00:35:21:855067] pilight-daemon: DEBUG: socket recv: {"action":"identify","options":{"config":1,"receiver":1},"media":"all"}
[Jan 02 00:35:21:855614] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}
[Jan 02 00:35:21:861546] pilight-daemon: DEBUG: socket write succeeded: {"action":"identify","options":{"config":1,"receiver":1},"media":"all"}
[Jan 02 00:35:22:457680] pilight-daemon: DEBUG: cpu: 0.000000%
[Jan 02 00:35:25:461152] pilight-daemon: DEBUG: cpu: 0.135910%

I am using the following protocols:
Code:
grep protocol /etc/pilight/config.json|sort -u
                       "protocol": [ "elro_400_switch" ],
                       "protocol": [ "intertechno_old" ],
                       "protocol": [ "kaku_dimmer" ],

Any ideas?
 
Reply
#8
Wat does your config look like?
 
Reply
#9
I reduced to one device:
Code:
{
       "devices": {
               "ELRO_AB440WD_2": {
                       "protocol": [ "elro_400_switch" ],
                       "id": [{
                               "systemcode": 21,
                               "unitcode": 29
                       }],
                       "state": "off"
               }
       },
       "rules": {},
       "gui": {
               "ELRO_AB440WD_2": {
                       "name": "Small",
                       "group": [ "Garden" ],
                       "media": [ "all" ]
               }
       },
       "settings": {
               "log-level": 6,
               "pid-file": "/var/run/pilight.pid",
               "log-file": "/var/log/pilight.log",
               "webserver-enable": 1,
               "webserver-root": "/usr/local/share/pilight/",
               "webserver-http-port": 5001,
               "webserver-cache": 1,
               "gpio-platform": "raspberrypi1b2"
       },
       "hardware": {
               "433gpio": {
                       "sender": 0,
                       "receiver": 1
               }
       },
       "registry": {
               "pilight": {
                       "version": {
                               "current": "7.0"
                       }
               },
               "webgui": {
                       "tabs": 0
               }
       }
}
 
Reply
#10
(01-02-2018, 07:54 AM)witty Wrote: I reduced to one device:
Code:
{
       "devices": {
               "ELRO_AB440WD_2": {
                       "protocol": [ "elro_400_switch" ],
                       "id": [{
                               "systemcode": 21,
                               "unitcode": 29
                       }],
                       "state": "off"
               }
       },
       "rules": {},
       "gui": {
               "ELRO_AB440WD_2": {
                       "name": "Small",
                       "group": [ "Garden" ],
                       "media": [ "all" ]
               }
       },
       "settings": {
               "log-level": 6,
               "pid-file": "/var/run/pilight.pid",
               "log-file": "/var/log/pilight.log",
               "webserver-enable": 1,
               "webserver-root": "/usr/local/share/pilight/",
               "webserver-http-port": 5001,
               "webserver-cache": 1,
               "gpio-platform": "raspberrypi1b2"
       },
       "hardware": {
               "433gpio": {
                       "sender": 0,
                       "receiver": 1
               }
       },
       "registry": {
               "pilight": {
                       "version": {
                               "current": "7.0"
                       }
               },
               "webgui": {
                       "tabs": 0
               }
       }
}

Hello,

This days i had the same problems. After upgrade to 8.0.4 (from 8.0.3) all my switches doesn't work :-( 
After hours of testing and asking goolge i decide to downgrade.
That was a big problem, because the removing doesn't work fine.
After that i installed the RPI3 kompletly new and i installed pilight=8.0.3 pilight-webgui=8.2
And now everything works fine again.
I hope that is interesting for you.

Greetings from Germany
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight-send does not stop (terminate) va13 3 49 05-15-2019, 06:06 PM
Last Post: curlymo
  oom_reaper: reaped process pilight-daemon va13 4 75 05-15-2019, 08:03 AM
Last Post: va13
  cant configure or even start pilight on raspi 3b Xvnx23 2 86 05-06-2019, 09:47 PM
Last Post: fourty2
  Problems after upgrade with switching on and off multiple lamps consecutively Mario.Steinberg 30 833 05-02-2019, 05:15 PM
Last Post: curlymo
Sad Raspberry Pi: "NOTICE: no pilight ssdp connections found" abusch 8 113 04-30-2019, 09:10 PM
Last Post: curlymo
  Using pilight-daemon socket API def_meggi 4 75 04-29-2019, 05:58 PM
Last Post: curlymo
  pilight-flash not working danny 9 163 04-27-2019, 09:02 PM
Last Post: curlymo
  pilight and Lirc lordslash 3 80 04-24-2019, 06:32 PM
Last Post: curlymo
Question Pi 3+ & pilight & 433Mhz RXB6: no receiption hacklschorsch 3 432 02-05-2019, 10:37 PM
Last Post: hacklschorsch
  Consecutive pilight commands habitoti 4 375 01-28-2019, 03:32 PM
Last Post: habitoti

Forum Jump:


Browsing: 1 Guest(s)