• 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
System update from pilight v7 to pilight v8
#1
I have an installed and working Raspberry with the pilight v7 running and managing many devices with lots of rules. 
I used a new SD Card and installed following your instructions the version 8. 

Everything is running well, but I do not get any feedback with pilight-receive. 

I used on v7 the default GPIOs for send and receive, do I need to change it?

I guess that many guys will have the question for the migration from v7 to v8. 
I'm open to everything you did a great job even with version 7.

What is the recommendation how to update to v8?

May be you can put a configuration template for this, thank you in advance.

best regards

Christian
 
Reply
#2
Hi Christian,

I often find here it is easier if you post your config to give a starting point on what could be going wrong (make sure to put it in code tags [code ] [/code ] so it is easier to read). Smile

However, from the manual

"You must now specify which GPIO platform pilight is running on. Refer to the settings page for more information. "

https://manual.pilight.org/configuration...o-platform

Josh
 
Reply
#3
Hello Josh,

thank you for the fast answer, yes I have seen the documentation already:
please find attached my config.json. I reduced it to the minimum to have at least one switch working, but until now no success:

Code:
{
 "devices": {
               "arbeit": {
                       "protocol": [ "kaku_switch" ],
                       "id": [{
                               "id": 21992446,
                               "unit": 1
                       }],
                       "state": "on"
               }
       },
       "rules": {},
       "gui": {
               "arbeit": {
                       "name": "Arbeitszimmer",
                       "group": [ "Funkschalter" ],
                       "media": [ "all" ],
                       "readonly": 0
               }
       },
       "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/webgui",
               "webserver-http-port": 5001,
               "webserver-https-port": 5002,
               "gpio-platform": "raspberrypi3"
       },
       "hardware": {
               "433gpio": {
                       "sender": 0,
                       "receiver": 1
               }
       },
       "registry": {}
}
 
Reply
#4
Avoiding my day job and nothing to read on theregister Smile

Can you change your post to put your reply in code tag (put [code ] and [/code ] at the begging and end without the spaces), formats it nicely. https://forum.pilight.org/announcements.php?aid=2

Lets start with the obvious one... are you using a raspberrypi3? and if you start in debug mode

sudo service pilight stop
sudo pilight-daemon -D &

Do you get any errors? Have you also checked if you have any loose connections or have you can you put your old SD card in to make sure that it is working?
 
Reply
#5
please find the log
Code:
$ [Jan 09 12:32:22:270634] pilight-daemon: INFO: version v8.0.4
[Jan 09 12:32:22:275189] pilight-daemon: DEBUG: ssdp sent search
[Jan 09 12:32:22:378203] pilight-daemon: NOTICE: a pilight daemon was found @192.168.2.36, clientizing
[Jan 09 12:32:22:497882] pilight-daemon: DEBUG: new thread node, 1 thread running
[Jan 09 12:32:22:509221] pilight-daemon: DEBUG: new thread sender, 2 threads running
[Jan 09 12:32:22:517467] pilight-daemon: DEBUG: new thread broadcaster, 3 threads running
[Jan 09 12:32:22:524671] pilight-daemon: DEBUG: ssdp sent search
[Jan 09 12:32:22:537805] pilight-daemon: DEBUG: new thread 433gpio, 4 threads running
[Jan 09 12:32:22:542444] pilight-daemon: DEBUG: new thread receive parser, 5 threads running
[Jan 09 12:32:22:629775] pilight-daemon: DEBUG: socket write succeeded: {"action":"identify","uuid":"0000-b8-27-eb-051aa3","options":{"receiver":1,"forward":1,"config":1}}

[Jan 09 12:32:22:634603] pilight-daemon: DEBUG: socket recv: {"status":"success"}
[Jan 09 12:32:22:636265] pilight-daemon: DEBUG: socket write succeeded: {"action":"request config"}

[Jan 09 12:32:22:641761] pilight-daemon: DEBUG: socket recv: {"message":"config","config":{"devices":{"arbeit":{"protocol":["kaku_switch"],"id":[{"id":21992446,"unit":1}],"state":"off"}},"rules":{},"gui":{"arbeit":{"name":"Arbeitszimmer","group":["Funkschalter"],"media":["all"],"readonly":0}},"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/webgui","webserver-http-port":5001,"webserver-https-port":5002,"gpio-platform":"raspberrypi3"},"hardware":{"433gpio":{"sender":0,"receiver":1}},"registry":{"webserver":{"ssl":{"certificate":{"secure":0,"location":"/etc/pilight/pilight.pem"}}},"pilight":{"version":{"current":"8.0.4"}}}}}
[Jan 09 12:32:22:644771] pilight-daemon: DEBUG: garbage collected config gui library
[Jan 09 12:32:22:649811] pilight-daemon: DEBUG: garbage collected config devices library
[Jan 09 12:32:22:653061] pilight-daemon: DEBUG: garbage collected config rules library
[Jan 09 12:32:22:653848] pilight-daemon: DEBUG: garbage collected config registry library
[Jan 09 12:32:22:657937] pilight-daemon: DEBUG: loaded master configuration
[ Jan 09 12:32:23:61366] pilight-daemon: DEBUG: cpu: 0.000000%
[ Jan 09 12:32:23:64141] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":0.0000000247974079},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-051aa3","action":"update"}

[ Jan 09 12:32:23:66067] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":0.0000000247974079},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-051aa3"}
[ Jan 09 12:32:26:64882] pilight-daemon: DEBUG: cpu: 35.012910%
[ Jan 09 12:32:26:66134] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":35.0129102169299173},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-051aa3","action":"update"}

[ Jan 09 12:32:26:66341] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":35.0129102169299173},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-051aa3"}
[ Jan 09 12:32:29:67489] pilight-daemon: DEBUG: cpu: 34.527157%
[ Jan 09 12:32:29:68945] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":34.5271568716300123},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-051aa3","action":"update"}

[ Jan 09 12:32:29:69184] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":34.5271568716300123},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-051aa3"}
[ Jan 09 12:32:32:68229] pilight-daemon: DEBUG: cpu: 34.642749%
[ Jan 09 12:32:32:69517] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":34.6427491741335487},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-051aa3","action":"update"}

[ Jan 09 12:32:32:69687] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":34.6427491741335487},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-051aa3"}
[ Jan 09 12:32:35:71962] pilight-daemon: DEBUG: cpu: 34.728872%
[ Jan 09 12:32:35:73053] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":34.7288723965985042},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-051aa3","action":"update"}

[ Jan 09 12:32:35:73214] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":34.7288723965985042},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-051aa3"}

I can access the webinterface.
And yes, if I put back the old SD card everything is working fine.
But with pilight-receive, I have no results in the version v8.

Update:
It is not the Raspberry PI 3
I got as information:


raspberrypi1b+ 

Let me investigate if I can solve it Wink
 
Reply
#6
Hello Josh,

you can close the topic.
Thank you for your support. 

For all the others, if you do not know exactly which PI you have, just use:

Code:
cat /sys/firmware/devicetree/base/model;echo

This helped me, Angel 

Thank you for the great Tool and Development.
 
Reply
#7
I will bookmark this post this thread as inspiration for a quick start guide.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight-control TML 9 166 Yesterday, 06:26 PM
Last Post: curlymo
  API Requests by HTTP from other devices fore use in pilight scootermacro 2 128 05-10-2020, 08:19 AM
Last Post: scootermacro
  pilight-send seems successful but doesn't actually send RF signal ayeyebrazov 37 1,943 03-31-2020, 01:02 PM
Last Post: curlymo
  pilight 8.1.5 not working on Raspberry pi after reboot beejayf 4 470 03-08-2020, 12:14 AM
Last Post: beejayf
  pilight cpu usage possibly associated with noticeable sluggishness? hepcat72 4 498 01-28-2020, 08:02 PM
Last Post: hepcat72
  apt.pilight.org stable Release' is not signed. thomasol 2 619 01-23-2020, 11:34 PM
Last Post: thomasol
  pilight and SIGNALduino cc1101 Caleus 0 413 01-19-2020, 09:13 AM
Last Post: Caleus
  filter stopped working after update to pilight 8.1.5 zlin50 19 1,286 01-03-2020, 02:15 PM
Last Post: curlymo
Question [Solved] Openweathermap with pilight 7.0-40 doesn't work Seebueb 2 479 01-01-2020, 06:45 PM
Last Post: Seebueb
  [Solved] Strange receive problem with 433Mhz Receiver and pilight 8.1.5 vanillaice30 15 1,355 12-18-2019, 11:09 AM
Last Post: vanillaice30

Forum Jump:


Browsing: 1 Guest(s)