• 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
pilight on RPi with latest Arch stopped working
#1
Hi guys,

yesterday I updated the OS on my RPi (first B model). Right before the update everything worked fine and now pilight stopped working Crying
I'm on Arch Linux, Kernel version: 4.9.13-3-ARCH

I've tried many things, like reinstalling from AUR, building from sources with both branches (master and development). But nothing helps.

When I build the master branch the pilight-daemon seems to be not working correctly. After starting with:
Code:
$ pilight-daemon -D

I get the following output:
Code:
[Mar 04 13:19:47:330364] pilight-daemon: INFO: version v7.0
[Mar 04 13:19:47:333511] pilight-daemon: DEBUG: ssdp sent search
[Mar 04 13:19:47:440941] pilight-daemon: INFO: no pilight daemon found, daemonizing
[Mar 04 13:19:47:444004] pilight-daemon: INFO: daemon listening to port: 37641
[Mar 04 13:19:47:450328] pilight-daemon: ERROR: hardware not supported
[Mar 04 13:19:47:452324] pilight-daemon: DEBUG: garbage collected wiringX library
[Mar 04 13:19:47:455140] pilight-daemon: ERROR: could not initialize 433gpio hardware module
[Mar 04 13:19:47:457107] pilight-daemon: DEBUG: garbage collected event operator library
[Mar 04 13:19:47:461620] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:463827] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:466219] pilight-daemon: DEBUG: new thread socket, 1 thread running
[Mar 04 13:19:47:468843] pilight-daemon: DEBUG: new thread ssdp, 2 threads running
[Mar 04 13:19:47:472085] pilight-daemon: DEBUG: new thread sender, 3 threads running
[Mar 04 13:19:47:474148] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:475375] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:475620] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:475815] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:476014] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:477212] pilight-daemon: DEBUG: garbage collected event action library
[Mar 04 13:19:47:477459] pilight-daemon: DEBUG: garbage collected event function library
[Mar 04 13:19:47:478758] pilight-daemon: DEBUG: garbage collected events library
[Mar 04 13:19:47:483946] pilight-daemon: DEBUG: new thread broadcaster, 4 threads running
[Mar 04 13:19:47:485247] pilight-daemon: INFO: removed stale pid_file /var/run/pilight.pid
[Mar 04 13:19:47:490218] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 43912
[Mar 04 13:19:47:493241] pilight-daemon: DEBUG: client fd: 6
[Mar 04 13:19:47:495429] pilight-daemon: DEBUG: client id: 1
[Mar 04 13:19:47:498637] pilight-daemon: DEBUG: garbage collected fcache library
[Mar 04 13:19:47:500323] pilight-daemon: DEBUG: garbage collected sha256cache library
[Mar 04 13:19:47:503050] pilight-daemon: DEBUG: garbage collected webserver library
[Mar 04 13:19:47:506244] pilight-daemon: DEBUG: garbage collected ssdp library
[Mar 04 13:19:47:508009] pilight-daemon: DEBUG: garbage collected options library
[Mar 04 13:19:47:511733] pilight-daemon: DEBUG: client disconnected, ip 127.0.0.1, port 37641
[Mar 04 13:19:47:512591] pilight-daemon: DEBUG: garbage collected socket library
[Mar 04 13:19:47:514236] pilight-daemon: DEBUG: garbage collected config devices library
[Mar 04 13:19:47:514496] pilight-daemon: DEBUG: garbage collected config rules library
[Mar 04 13:19:47:515888] pilight-daemon: DEBUG: garbage collected config gui library
[Mar 04 13:19:47:516137] pilight-daemon: DEBUG: garbage collected config settings library
[Mar 04 13:19:47:516355] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:516563] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:517834] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:518841] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:519080] pilight-daemon: DEBUG: garbage collected config hardware library
[Mar 04 13:19:47:519277] pilight-daemon: DEBUG: garbage collected config registry library
[Mar 04 13:19:47:520201] pilight-daemon: DEBUG: garbage collected config library
[Mar 04 13:19:47:520437] pilight-daemon: DEBUG: protocol raw
[Mar 04 13:19:47:521027] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:521919] pilight-daemon: DEBUG: protocol pilight_firmware
[Mar 04 13:19:47:522827] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:523084] pilight-daemon: DEBUG: protocol pilight_firmware
[Mar 04 13:19:47:523287] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:524245] pilight-daemon: DEBUG: protocol ping
[Mar 04 13:19:47:524571] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:525503] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:526484] pilight-daemon: DEBUG: protocol arping
[Mar 04 13:19:47:526730] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:527649] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:527885] pilight-daemon: DEBUG: protocol relay
[Mar 04 13:19:47:528766] pilight-daemon: DEBUG: ran garbage collector
[Mar 04 13:19:47:529011] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:529603] pilight-daemon: DEBUG: protocol lm76
[Mar 04 13:19:47:529867] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:530072] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:530634] pilight-daemon: DEBUG: protocol lm75
[Mar 04 13:19:47:531451] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:531992] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:532240] pilight-daemon: DEBUG: protocol gpio_switch
[Mar 04 13:19:47:532796] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:533022] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:534881] pilight-daemon: DEBUG: protocol ds18s20
[Mar 04 13:19:47:535540] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:537895] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:539112] pilight-daemon: DEBUG: protocol ds18b20
[Mar 04 13:19:47:539357] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:539559] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:540888] pilight-daemon: DEBUG: protocol dht22
[Mar 04 13:19:47:541257] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:542559] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:542805] pilight-daemon: DEBUG: protocol dht11
[Mar 04 13:19:47:542995] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:543199] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:544417] pilight-daemon: DEBUG: protocol bmp180
[Mar 04 13:19:47:544660] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:544873] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:545068] pilight-daemon: DEBUG: protocol generic_webcam
[Mar 04 13:19:47:546414] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:547621] pilight-daemon: DEBUG: protocol generic_weather
[Mar 04 13:19:47:547876] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:548065] pilight-daemon: DEBUG: protocol generic_switch
[Mar 04 13:19:47:549262] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:549508] pilight-daemon: DEBUG: protocol generic_screen
[Mar 04 13:19:47:549716] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:549900] pilight-daemon: DEBUG: protocol generic_label
[Mar 04 13:19:47:551349] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:551589] pilight-daemon: DEBUG: protocol generic_dimmer
[Mar 04 13:19:47:552714] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:553914] pilight-daemon: DEBUG: protocol xbmc
[Mar 04 13:19:47:554181] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:555357] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:555595] pilight-daemon: DEBUG: protocol wunderground
[Mar 04 13:19:47:555793] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:556013] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:557225] pilight-daemon: DEBUG: protocol sunriseset
[Mar 04 13:19:47:558152] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:559134] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:559385] pilight-daemon: DEBUG: protocol program
[Mar 04 13:19:47:561011] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:561272] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:562460] pilight-daemon: DEBUG: protocol openweathermap
[Mar 04 13:19:47:562705] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:562920] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:563111] pilight-daemon: DEBUG: protocol lirc
[Mar 04 13:19:47:564346] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:565469] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:566467] pilight-daemon: DEBUG: protocol datetime
[Mar 04 13:19:47:566715] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:567570] pilight-daemon: DEBUG: ran garbage collector
[Mar 04 13:19:47:567843] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:568037] pilight-daemon: DEBUG: protocol cpu_temp
[Mar 04 13:19:47:569406] pilight-daemon: DEBUG: stopped protocol threads
[Mar 04 13:19:47:569662] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:569853] pilight-daemon: DEBUG: protocol x10
[Mar 04 13:19:47:570047] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:571410] pilight-daemon: DEBUG: protocol tfa
[Mar 04 13:19:47:571651] pilight-daemon: DEBUG: ran garbage collector
[Mar 04 13:19:47:572846] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:573083] pilight-daemon: DEBUG: protocol teknihall
[Mar 04 13:19:47:573267] pilight-daemon: DEBUG: ran garbage collector
[Mar 04 13:19:47:573477] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:574693] pilight-daemon: DEBUG: protocol techlico_switch
[Mar 04 13:19:47:574966] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:576122] pilight-daemon: DEBUG: protocol silvercrest
[Mar 04 13:19:47:576373] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:576567] pilight-daemon: DEBUG: protocol selectremote
[Mar 04 13:19:47:577734] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:577972] pilight-daemon: DEBUG: protocol sc2262
[Mar 04 13:19:47:578171] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:578361] pilight-daemon: DEBUG: protocol rsl366
[Mar 04 13:19:47:579580] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:580863] pilight-daemon: DEBUG: protocol rc101
[Mar 04 13:19:47:582109] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:582401] pilight-daemon: DEBUG: protocol quigg_screen
[Mar 04 13:19:47:582657] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:583794] pilight-daemon: DEBUG: protocol quigg_gt7000
[Mar 04 13:19:47:584738] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:584972] pilight-daemon: DEBUG: protocol quigg_gt1000
[Mar 04 13:19:47:586491] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:587640] pilight-daemon: DEBUG: protocol pollin
[Mar 04 13:19:47:588626] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:589961] pilight-daemon: DEBUG: protocol ninjablocks_weather
[Mar 04 13:19:47:590200] pilight-daemon: DEBUG: ran garbage collector
[Mar 04 13:19:47:590496] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:590821] pilight-daemon: DEBUG: protocol mumbi
[Mar 04 13:19:47:591818] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:592048] pilight-daemon: DEBUG: protocol logilink_switch
[Mar 04 13:19:47:592248] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:593374] pilight-daemon: DEBUG: protocol impuls
[Mar 04 13:19:47:594763] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:595011] pilight-daemon: DEBUG: protocol heitech
[Mar 04 13:19:47:595206] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:595398] pilight-daemon: DEBUG: protocol ev1527
[Mar 04 13:19:47:595879] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:597232] pilight-daemon: DEBUG: protocol elro_800_switch
[Mar 04 13:19:47:597483] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:597673] pilight-daemon: DEBUG: protocol elro_800_contact
[Mar 04 13:19:47:598936] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:599176] pilight-daemon: DEBUG: protocol elro_400_switch
[Mar 04 13:19:47:599373] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:599561] pilight-daemon: DEBUG: protocol elro_300_switch
[Mar 04 13:19:47:601484] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:602936] pilight-daemon: DEBUG: protocol ehome
[Mar 04 13:19:47:603184] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:603380] pilight-daemon: DEBUG: protocol daycom
[Mar 04 13:19:47:603575] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:604814] pilight-daemon: DEBUG: protocol conrad_rsl_switch
[Mar 04 13:19:47:605726] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:607230] pilight-daemon: DEBUG: protocol conrad_rsl_contact
[Mar 04 13:19:47:607483] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:607666] pilight-daemon: DEBUG: protocol cleverwatts
[Mar 04 13:19:47:607865] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:609058] pilight-daemon: DEBUG: protocol clarus_switch
[Mar 04 13:19:47:609311] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:609501] pilight-daemon: DEBUG: protocol beamish_switch
[Mar 04 13:19:47:609704] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:610935] pilight-daemon: DEBUG: protocol auriol
[Mar 04 13:19:47:611176] pilight-daemon: DEBUG: ran garbage collector
[Mar 04 13:19:47:612365] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:612600] pilight-daemon: DEBUG: protocol arctech_switch_old
[Mar 04 13:19:47:612810] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:613000] pilight-daemon: DEBUG: protocol arctech_switch
[Mar 04 13:19:47:614929] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:616347] pilight-daemon: DEBUG: protocol arctech_screen_old
[Mar 04 13:19:47:616597] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:616787] pilight-daemon: DEBUG: protocol arctech_screen
[Mar 04 13:19:47:617001] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:618207] pilight-daemon: DEBUG: protocol arctech_motion
[Mar 04 13:19:47:619346] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:620314] pilight-daemon: DEBUG: protocol arctech_dusk
[Mar 04 13:19:47:620558] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:621574] pilight-daemon: DEBUG: protocol arctech_dimmer
[Mar 04 13:19:47:621831] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:622794] pilight-daemon: DEBUG: protocol arctech_contact
[Mar 04 13:19:47:623040] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:624483] pilight-daemon: DEBUG: protocol alecto_wx500
[Mar 04 13:19:47:626123] pilight-daemon: DEBUG: ran garbage collector
[Mar 04 13:19:47:626394] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:626601] pilight-daemon: DEBUG: protocol alecto_wsd17
[Mar 04 13:19:47:626785] pilight-daemon: DEBUG: ran garbage collector
[Mar 04 13:19:47:628010] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:628249] pilight-daemon: DEBUG: protocol alecto_ws1700
[Mar 04 13:19:47:629347] pilight-daemon: DEBUG: ran garbage collector
[Mar 04 13:19:47:629631] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:629825] pilight-daemon: DEBUG: protocol process
[Mar 04 13:19:47:630017] pilight-daemon: DEBUG: freed options struct
[Mar 04 13:19:47:630491] pilight-daemon: DEBUG: garbage collected protocol library
[Mar 04 13:19:47:632533] pilight-daemon: DEBUG: garbage collected ntp library
[Mar 04 13:19:47:634117] pilight-daemon: DEBUG: stopping socket thread
[Mar 04 13:19:47:634431] pilight-daemon: DEBUG: stopped thread socket, 3 threads running
[Mar 04 13:19:47:644771] pilight-daemon: DEBUG: stopping ssdp thread
[Mar 04 13:19:47:645097] pilight-daemon: DEBUG: stopped thread ssdp, 2 threads running
[Mar 04 13:19:47:655440] pilight-daemon: DEBUG: stopping sender thread
[Mar 04 13:19:47:655761] pilight-daemon: DEBUG: stopped thread sender, 1 thread running
[Mar 04 13:19:47:666120] pilight-daemon: DEBUG: stopping broadcaster thread
[Mar 04 13:19:47:666446] pilight-daemon: DEBUG: stopped thread broadcaster, 0 threads running
[Mar 04 13:19:47:676858] pilight-daemon: DEBUG: garbage collected threads library
[Mar 04 13:19:47:677164] pilight-daemon: DEBUG: garbage collected wiringX library
[Mar 04 13:19:47:677367] pilight-daemon: DEBUG: garbage collected dso library
DEBUG: garbage collected log library

So I gave the development branch a try. With this version the daemon works flawlessly. I can reach the webserver and switch the buttons of my devices. But, my devices don't react on the sent codes :/

I've started the daemon with the same command as above and I got the following output:

Code:
[ Mar 04 12:48:20:99843] pilight-daemon: INFO: version 8a9fc4f                                
[Mar 04 12:48:20:103136] pilight-daemon: DEBUG: ssdp sent search                              
[Mar 04 12:48:20:210884] pilight-daemon: INFO: no pilight daemon found, daemonizing            
[Mar 04 12:48:20:214020] pilight-daemon: INFO: daemon listening to port: 45797                
[Mar 04 12:48:20:220504] pilight-daemon: DEBUG: running on a raspberrypi                      
[Mar 04 12:48:20:229892] pilight-daemon: DEBUG: new thread socket, 1 thread running            
[Mar 04 12:48:20:242605] pilight-daemon: DEBUG: new thread ssdp, 2 threads running            
[Mar 04 12:48:20:245619] pilight-daemon: DEBUG: new thread sender, 3 threads running          
[Mar 04 12:48:20:250087] pilight-daemon: DEBUG: new thread broadcaster, 4 threads running      
[Mar 04 12:48:20:252951] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 59122          
[Mar 04 12:48:20:255321] pilight-daemon: DEBUG: client fd: 8                                  
[Mar 04 12:48:20:258211] pilight-daemon: DEBUG: client id: 1                                  
[Mar 04 12:48:20:272445] pilight-daemon: DEBUG: new thread 433gpio, 5 threads running          
[Mar 04 12:48:20:274519] pilight-daemon: DEBUG: new thread receive parser, 6 threads running
[Mar 04 12:48:20:276559] pilight-daemon: DEBUG: new thread events client, 7 threads running
[Mar 04 12:48:20:278669] pilight-daemon: DEBUG: new thread events loop, 8 threads running
[Mar 04 12:48:20:283167] pilight-daemon: DEBUG: ssdp sent notify
[Mar 04 12:48:20:284944] pilight-daemon: DEBUG: ssdp sent search
[Mar 04 12:48:20:296791] pilight-daemon: DEBUG: new thread webserver worker #0, 9 threads running
[Mar 04 12:48:20:300007] pilight-daemon: DEBUG: new thread webserver worker #1, 10 threads running
[Mar 04 12:48:20:302235] pilight-daemon: DEBUG: webserver listening to port 5002
[Mar 04 12:48:20:304494] pilight-daemon: DEBUG: webserver listening to port 5001
[Mar 04 12:48:20:307440] pilight-daemon: DEBUG: new thread webserver client, 11 threads running
[Mar 04 12:48:20:310393] pilight-daemon: DEBUG: new thread webserver broadcast, 12 threads running
[Mar 04 12:48:20:313778] pilight-daemon: DEBUG: cpu: 0.000000%, ram: 1.282763%
[Mar 04 12:48:20:317583] pilight-daemon: DEBUG: ssdp sent notify
[Mar 04 12:48:20:319678] pilight-daemon: DEBUG: ssdp sent search
[Mar 04 12:48:20:401975] pilight-daemon: DEBUG: socket write succeeded: {"action":"identify","options":{"config":1,"receiver":1},"media":"all"}

[Mar 04 12:48:20:405142] pilight-daemon: INFO: new client, ip: 192.168.192.178, port: 57874
[Mar 04 12:48:20:407437] pilight-daemon: DEBUG: client fd: 17
[Mar 04 12:48:20:410193] pilight-daemon: DEBUG: client id: 2
[Mar 04 12:48:20:413211] pilight-daemon: DEBUG: socket recv: {"action":"identify","options":{"config":1,"receiver":1},"media":"all"}
[Mar 04 12:48:20:415603] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:20:431965] pilight-daemon: DEBUG: socket write succeeded: {"action":"identify","options":{"config":1,"core":1},"media":"web"}

[Mar 04 12:48:20:435347] pilight-daemon: INFO: new client, ip: 192.168.192.178, port: 57876
[Mar 04 12:48:20:437926] pilight-daemon: DEBUG: client fd: 18
[Mar 04 12:48:20:440322] pilight-daemon: DEBUG: client id: 3
[Mar 04 12:48:20:441930] pilight-daemon: DEBUG: socket recv: {"action":"identify","options":{"config":1,"core":1},"media":"web"}
[Mar 04 12:48:20:443730] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:23:326745] pilight-daemon: DEBUG: cpu: 0.153949%, ram: 1.282763%
[Mar 04 12:48:23:329762] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":0.1539487051575982,"ram":1.2827632669039795},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:23:333149] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":0.1539487051575982,"ram":1.2827632669039795},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:26:339046] pilight-daemon: DEBUG: cpu: 0.340663%, ram: 1.282763%
[Mar 04 12:48:26:342331] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":0.3406628543118834,"ram":1.2827632669039795},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:26:345579] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":0.3406628543118834,"ram":1.2827632669039795},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:27:950644] pilight-daemon: INFO: client connected, ip 192.168.192.169, port 40834
[Mar 04 12:48:27:953618] pilight-daemon: NOTICE: caching /usr/local/share/pilight//index.html
[ Mar 04 12:48:28:17165] pilight-daemon: INFO: client connected, ip 192.168.192.169, port 40836
[ Mar 04 12:48:28:20188] pilight-daemon: NOTICE: caching /usr/local/share/pilight//jquery-2.1.4.min.js
[ Mar 04 12:48:28:37892] pilight-daemon: INFO: client connected, ip 192.168.192.169, port 40838
[ Mar 04 12:48:28:41318] pilight-daemon: NOTICE: caching /usr/local/share/pilight//jquery.mobile-1.4.5.min.js
[ Mar 04 12:48:28:63707] pilight-daemon: INFO: client connected, ip 192.168.192.169, port 40840
[ Mar 04 12:48:28:66520] pilight-daemon: NOTICE: caching /usr/local/share/pilight//moment.min.js
[ Mar 04 12:48:28:90305] pilight-daemon: INFO: client connected, ip 192.168.192.169, port 40842
[ Mar 04 12:48:28:92479] pilight-daemon: NOTICE: caching /usr/local/share/pilight//pilight.js
[Mar 04 12:48:28:107073] pilight-daemon: INFO: client connected, ip 192.168.192.169, port 40844
[Mar 04 12:48:28:111844] pilight-daemon: NOTICE: caching /usr/local/share/pilight//jquery.mobile-1.4.5.min.css
[Mar 04 12:48:28:147023] pilight-daemon: INFO: client connected, ip 192.168.192.169, port 40846
[Mar 04 12:48:28:150007] pilight-daemon: NOTICE: caching /usr/local/share/pilight//pilight.css
[Mar 04 12:48:28:168692] pilight-daemon: INFO: client connected, ip 192.168.192.169, port 40848
[Mar 04 12:48:28:170599] pilight-daemon: NOTICE: caching /usr/local/share/pilight//pilight.jquery.theme.css
[Mar 04 12:48:28:219706] pilight-daemon: INFO: client connected, ip 192.168.192.169, port 40850
[Mar 04 12:48:28:224115] pilight-daemon: NOTICE: caching /usr/local/share/pilight//favicon.ico
[Mar 04 12:48:28:455854] pilight-daemon: INFO: client connected, ip 192.168.192.169, port 40850
[Mar 04 12:48:28:456599] pilight-daemon: NOTICE: caching /usr/local/share/pilight//images/ajax-loader.gif
[Mar 04 12:48:28:500630] pilight-daemon: INFO: client connected, ip 192.168.192.169, port 40850
[Mar 04 12:48:29:351724] pilight-daemon: DEBUG: cpu: 1.844594%, ram: 1.455741%
[Mar 04 12:48:29:354762] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":1.8445936989653855,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:29:357834] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":1.8445936989653855,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:32:363772] pilight-daemon: DEBUG: cpu: 0.167934%, ram: 1.455741%
[Mar 04 12:48:32:366884] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":0.1679344400144899,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:32:369979] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":0.1679344400144899,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:32:637761] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}

[Mar 04 12:48:32:641930] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}
[Mar 04 12:48:32:646169] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:32:646617] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 10200
[Mar 04 12:48:32:647028] pilight-daemon: DEBUG: **** RAW CODE ****
[ Mar 04 12:48:33:65476] pilight-daemon: DEBUG: successfully send elro_800_switch code
[ Mar 04 12:48:33:68947] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631713,"state":"on"}}

[ Mar 04 12:48:33:72180] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631713,"state":"on"}}
[ Mar 04 12:48:33:75228] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631713,"state":"on"}}

[ Mar 04 12:48:33:78475] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631713,"state":"on"}}
[ Mar 04 12:48:33:82027] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[ Mar 04 12:48:33:84959] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:33:769186] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"off"}}
[Mar 04 12:48:33:770406] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:33:770872] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 10200
[Mar 04 12:48:33:771136] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:33:772886] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"off"}}

[Mar 04 12:48:34:189285] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 12:48:34:192513] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631714,"state":"off"}}

[Mar 04 12:48:34:194990] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631714,"state":"off"}}
[Mar 04 12:48:34:198771] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631714,"state":"off"}}

[Mar 04 12:48:34:201078] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631714,"state":"off"}}
[Mar 04 12:48:34:203495] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:34:206439] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:34:518572] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}
[Mar 04 12:48:34:519789] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:34:520143] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 10200
[Mar 04 12:48:34:520404] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:34:522278] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}

[Mar 04 12:48:34:596066] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}
[Mar 04 12:48:34:597181] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}

[Mar 04 12:48:34:938791] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 12:48:34:940239] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:34:940592] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 10200
[Mar 04 12:48:34:940955] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:34:944891] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631714,"state":"on"}}

[Mar 04 12:48:34:946960] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631714,"state":"on"}}
[Mar 04 12:48:34:951221] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631714,"state":"on"}}

[Mar 04 12:48:34:953982] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631714,"state":"on"}}
[Mar 04 12:48:34:956678] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:34:959393] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:35:360600] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 12:48:35:363041] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:35:365771] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:35:376514] pilight-daemon: DEBUG: cpu: 6.761164%, ram: 1.455741%
[Mar 04 12:48:35:380034] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":6.7611636765841769,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:35:383207] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":6.7611636765841769,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:35:667223] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"off"}}
[Mar 04 12:48:35:668236] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:35:668573] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 10200
[Mar 04 12:48:35:668822] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:35:671322] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"off"}}

[ Mar 04 12:48:36:86966] pilight-daemon: DEBUG: successfully send elro_800_switch code
[ Mar 04 12:48:36:90244] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631716,"state":"off"}}

[ Mar 04 12:48:36:93439] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631716,"state":"off"}}
[ Mar 04 12:48:36:95921] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631716,"state":"off"}}

[ Mar 04 12:48:36:98963] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631716,"state":"off"}}
[Mar 04 12:48:36:101528] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:36:103771] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:36:550104] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}
[Mar 04 12:48:36:551525] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:36:551886] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 10200
[Mar 04 12:48:36:552150] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:36:553829] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}

[Mar 04 12:48:36:639227] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}
[Mar 04 12:48:36:640606] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}

[Mar 04 12:48:36:970926] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 12:48:36:972374] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:36:972724] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 10200
[Mar 04 12:48:36:972978] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:36:977100] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631716,"state":"on"}}

[Mar 04 12:48:36:979703] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631716,"state":"on"}}
[Mar 04 12:48:36:983657] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631716,"state":"on"}}

[Mar 04 12:48:36:986537] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631716,"state":"on"}}
[Mar 04 12:48:36:990468] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:36:993745] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:37:393948] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 12:48:37:397320] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:37:400363] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:37:747712] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"off"}}
[Mar 04 12:48:37:748777] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:37:749117] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 10200
[Mar 04 12:48:37:749375] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:37:751536] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"off"}}

[Mar 04 12:48:38:168310] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 12:48:38:171478] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631718,"state":"off"}}

[Mar 04 12:48:38:174741] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631718,"state":"off"}}
[Mar 04 12:48:38:177167] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631718,"state":"off"}}

[Mar 04 12:48:38:180092] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631718,"state":"off"}}
[Mar 04 12:48:38:182984] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:38:185455] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:38:382552] pilight-daemon: DEBUG: cpu: 4.216521%, ram: 1.455741%
[Mar 04 12:48:38:386036] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":4.2165214983580706,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:38:389024] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":4.2165214983580706,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:38:712354] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}
[Mar 04 12:48:38:713557] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:38:713914] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 10200
[Mar 04 12:48:38:714166] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:38:715879] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}

[Mar 04 12:48:38:806857] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}
[Mar 04 12:48:38:808238] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}

[Mar 04 12:48:39:133540] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 12:48:39:135114] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:39:135490] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 10200
[Mar 04 12:48:39:135737] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:39:139721] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631719,"state":"on"}}

[Mar 04 12:48:39:143343] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631719,"state":"on"}}
[Mar 04 12:48:39:147505] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631719,"state":"on"}}

[Mar 04 12:48:39:149698] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488631719,"state":"on"}}
[Mar 04 12:48:39:154371] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:39:156345] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:39:556444] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 12:48:39:559665] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:39:562562] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:41:388187] pilight-daemon: DEBUG: cpu: 0.169726%, ram: 1.455741%
[Mar 04 12:48:41:391960] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":0.1697260777754125,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:41:394779] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":0.1697260777754125,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:44:394063] pilight-daemon: DEBUG: cpu: 0.172025%, ram: 1.455741%
[Mar 04 12:48:44:397100] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":0.1720254441522809,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:44:400295] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":0.1720254441522809,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:45:201483] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"lava_lamp","state":"on"}}
[Mar 04 12:48:45:202536] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:45:202878] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 10200
[Mar 04 12:48:45:203137] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:45:205059] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"lava_lamp","state":"on"}}

[Mar 04 12:48:45:621590] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 12:48:45:625051] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631725,"state":"on"}}

[Mar 04 12:48:45:627614] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631725,"state":"on"}}
[Mar 04 12:48:45:631307] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631725,"state":"on"}}

[Mar 04 12:48:45:633924] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631725,"state":"on"}}
[Mar 04 12:48:45:637600] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":4,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:45:640460] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":4,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:47:406715] pilight-daemon: DEBUG: cpu: 0.311658%, ram: 1.455741%
[Mar 04 12:48:47:410179] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":0.3116584934149321,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:47:413294] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":0.3116584934149321,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:49:181286] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"lava_lamp","state":"off"}}
[Mar 04 12:48:49:182600] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:49:182955] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 10200
[Mar 04 12:48:49:183215] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:49:184852] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"lava_lamp","state":"off"}}

[Mar 04 12:48:49:601497] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 12:48:49:604716] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631729,"state":"off"}}

[Mar 04 12:48:49:607486] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631729,"state":"off"}}
[Mar 04 12:48:49:611275] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631729,"state":"off"}}

[Mar 04 12:48:49:614184] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631729,"state":"off"}}
[Mar 04 12:48:49:617672] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":4,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:49:620849] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":4,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:50:123297] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"lava_lamp","state":"on"}}
[Mar 04 12:48:50:124479] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:50:124833] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 10200
[Mar 04 12:48:50:125081] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:50:126727] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"lava_lamp","state":"on"}}

[Mar 04 12:48:50:412754] pilight-daemon: DEBUG: cpu: 4.163352%, ram: 1.455741%
[Mar 04 12:48:50:416267] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":4.1633522178436930,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:50:419325] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":4.1633522178436930,"ram":1.4557405704609390},"origin":"core","type":-1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:50:544160] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 12:48:50:546363] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631730,"state":"on"}}

[Mar 04 12:48:50:549155] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631730,"state":"on"}}
[Mar 04 12:48:50:550621] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631730,"state":"on"}}

[Mar 04 12:48:50:553729] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631730,"state":"on"}}
[Mar 04 12:48:50:557123] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":4,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:50:560329] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":4,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:51:136039] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"lava_lamp","state":"on"}}
[Mar 04 12:48:51:137256] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:51:137606] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 10200
[Mar 04 12:48:51:137858] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:51:139425] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"lava_lamp","state":"on"}}

[Mar 04 12:48:51:556365] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 12:48:51:559861] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":4,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:51:562915] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":4,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 12:48:51:981429] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"lava_lamp","state":"off"}}
[Mar 04 12:48:51:982730] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 12:48:51:983095] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 10200
[Mar 04 12:48:51:983355] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 12:48:51:985047] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"lava_lamp","state":"off"}}

[Mar 04 12:48:52:401449] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 12:48:52:404743] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631732,"state":"off"}}

[Mar 04 12:48:52:407805] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631732,"state":"off"}}
[Mar 04 12:48:52:411179] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631732,"state":"off"}}

[Mar 04 12:48:52:413360] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["lava_lamp"],"values":{"timestamp":1488631732,"state":"off"}}
[Mar 04 12:48:52:416004] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":4,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 12:48:52:420259] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":4,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[ Mar 04 12:48:53:18286] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"off"}}
[ Mar 04 12:48:53:19483] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[ Mar 04 12:48:53:19840] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 10200
[ Mar 04 12:48:53:20099] pilight-daemon: DEBUG: **** RAW CODE ****
[ Mar 04 12:48:53:22053] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"off"}}
...

I couldn't find the problem, since all sent messages were logged as successfully sent. But nothing happens Crying

Last but not least, here's my config.json:
Code:
{
        "devices": {
                "livingroomlamps": {
                        "protocol": [ "elro_800_switch" ],
                        "id": [{
                                "systemcode": 18,
                                "unitcode": 1
                        }],
                        "state": "off"
                },
                "television": {
                        "protocol": [ "elro_800_switch" ],
                        "id": [{
                                "systemcode": 18,
                                "unitcode": 2
                        }],
                        "state": "off"
                },                                                                            
                "hifi": {                                                                      
                        "protocol": [ "elro_800_switch" ],                                    
                        "id": [{                                                              
                                "systemcode": 18,                                              
                                "unitcode": 4                                                  
                        }],                                                                    
                        "state": "off"                                                        
                },                                                                            
                "printer": {                                                                  
                        "protocol": [ "elro_800_switch" ],                                    
                        "id": [{                                                              
                                "systemcode": 18,                                              
                                "unitcode": 8                                                  
                        }],                                                                    
                        "state": "on"                                                          
                },                                                                            
                "kitchen_devices": {                                                          
                        "protocol": [ "elro_800_switch" ],                                    
                        "id": [{                                                              
                                "systemcode": 20,
                                "unitcode": 1
                        }],
                        "state": "off"
                },
                "kitchen_lamp": {
                        "protocol": [ "elro_800_switch" ],
                        "id": [{
                                "systemcode": 20,
                                "unitcode": 2
                        }],
                        "state": "off"
                },
                "kitchen_lights": {
                        "protocol": [ "elro_800_switch" ],
                        "id": [{
                                "systemcode": 20,
                                "unitcode": 4
                        }],
                        "state": "off"
                },
                "desktop_lamp": {
                        "protocol": [ "elro_800_switch" ],
                        "id": [{
                                "systemcode": 11,
                                "unitcode": 1
                        }],
                        "state": "off"
                },
                "neles_lamp": {
                        "protocol": [ "elro_800_switch" ],
                        "id": [{
                                "systemcode": 11,
                                "unitcode": 2
                        }],
                        "state": "on"
                },
                "lava_lamp": {
                        "protocol": [ "elro_800_switch" ],
                        "id": [{
                                "systemcode": 11,
                                "unitcode": 4
                        }],
                        "state": "off"
                }
        },
        "rules": {},
        "gui": {
                "livingroomlamps": {
                        "name": "Living room lamps",
                        "group": [ "Living room" ],
                        "media": [ "web" ],
                        "readonly": 0
                },
                "television": {
                        "name": "Tv-FireTV-ChromeCast-Wii",
                        "group": [ "Living room" ],
                        "media": [ "web" ],
                        "readonly": 0
                },
                "hifi": {
                        "name": "Amp-BlurayPlayer",
                        "group": [ "Living room" ],
                        "media": [ "web" ],
                        "readonly": 0
                },
                "printer": {
                        "name": "Printer",
                        "group": [ "Living room" ],
                        "media": [ "web" ],
                        "readonly": 0
                },
                "kitchen_devices": {
                        "name": "Kitchen devices: Toaster, Waterboiler",
                        "group": [ "Kitchen" ],
                        "media": [ "web" ],
                        "readonly": 0
                },
                "kitchen_lamp": {
                        "name": "Lamp on table",
                        "group": [ "Kitchen" ],
                        "media": [ "web" ],
                        "readonly": 0
                },
                "kitchen_lights": {
                        "name": "LED lights",
                        "group": [ "Kitchen" ],
                        "media": [ "web" ],
                        "readonly": 0
                },
                "desktop_lamp": {
                        "name": "Rafi's desktop lamp",
                        "group": [ "Bedroom" ],
                        "media": [ "web" ],
                        "readonly": 0
                },
                "neles_lamp": {
                        "name": "Neles bedside lamp",
                        "group": [ "Bedroom" ],
                        "media": [ "web" ],
                        "readonly": 0
                },
                "lava_lamp": {
                        "name": "Lava lamp",
                        "group": [ "Bedroom" ],
                        "media": [ "web" ],
                        "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/",
                "webserver-http-port": 5001,
                "webserver-https-port": 5002,
                "webserver-cache": 1
        },
        "hardware": {
                "433gpio": {
                        "sender": 0,
                        "receiver": 1
                }
        },
        "registry": {
                "webserver": {
                        "ssl": {
                                "certificate": {
                                        "secure": 0,
                                        "location": "/etc/pilight/pilight.pem"
                                }
                        }
                },
                "pilight": {
                        "version": {
                                "current": "7.0"
                        }
                }
        }
}

Maybe I'm blind or stupid or even both, but I can't find a solution on the internet for my problem. I hope someone can help me out Smile

Thanks in advance!
Rafael
 
Reply
#2
There was a compatibility issue in the wiringX Library in combination with 4.9.x kernels. The issue is fixed with the development branch and the latest nightly.

Please use one of those software versions and report back whether it solves your problem or not.
 
Reply
#3
Thanks a lot for your answer. I've already tried the development branch, but now I tried it again. Unfortunately it doesn't help. The daemon is running fine, but the commands seems not to be sent, although it is reported as successful to the log as you can see:
Code:
...
[Mar 04 19:12:58:284961] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488654778,"state":"off"}}
[Mar 04 19:12:58:288624] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 19:12:58:291484] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 19:12:58:682112] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}
[Mar 04 19:12:58:682944] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}

[Mar 04 19:12:58:693221] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 19:12:58:694674] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 19:12:58:695022] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 10200
[Mar 04 19:12:58:695271] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 19:12:58:699098] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 19:12:58:702385] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"off"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 19:12:58:813700] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}
[Mar 04 19:12:58:814147] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"on"}}

[Mar 04 19:12:59:114948] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 19:12:59:116421] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 19:12:59:116772] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 900 900 300 300 10200
[Mar 04 19:12:59:117025] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 19:12:59:121089] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488654779,"state":"on"}}

[Mar 04 19:12:59:124755] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488654779,"state":"on"}}
[Mar 04 19:12:59:128196] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488654779,"state":"on"}}

[Mar 04 19:12:59:132063] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488654779,"state":"on"}}
[Mar 04 19:12:59:136480] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 19:12:59:138431] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 19:12:59:538868] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 19:12:59:541272] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}

[Mar 04 19:12:59:542483] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"elro_800_switch","message":{"systemcode":11,"unitcode":1,"state":"on"},"repeat":1,"uuid":"0000-fc-b4-e6-afc7c8"}
[Mar 04 19:12:59:715480] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"off"}}
[Mar 04 19:12:59:716509] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 19:12:59:716840] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 10200
[Mar 04 19:12:59:717096] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 19:12:59:719089] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"off"}}

[Mar 04 19:12:59:860063] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"desktop_lamp","state":"off"}}
[Mar 04 19:12:59:860594] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"desktop_lamp","state":"off"}}

[Mar 04 19:13:00:136749] pilight-daemon: DEBUG: successfully send elro_800_switch code
[Mar 04 19:13:00:138286] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Mar 04 19:13:00:138638] pilight-daemon: DEBUG: **** RAW CODE ****
300 900 300 900 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 300 900 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 900 300 300 900 300 900 300 10200
[Mar 04 19:13:00:138893] pilight-daemon: DEBUG: **** RAW CODE ****
[Mar 04 19:13:00:142840] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488654780,"state":"off"}}

[Mar 04 19:13:00:145899] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488654780,"state":"off"}}
[Mar 04 19:13:00:150335] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":1,"devices":["desktop_lamp"],"values":{"timestamp":1488654780,"state":"off"}}

...

Next I tried to send commands manually like this:
Code:
$ pilight-send -p elro_800_switch -s 18 -u 1 -f
but still nothing happens.

Sorry, I don't get it to work :/
 
Reply
#4
As far as i can see it, this seems to be an ARCH Linux related issue. There seem to be several issues pending with the Pi1 and Kernel > 4.4.7, however as I am using raspbian, i am a bit guessing here.
Using raspbian, i have Kernel 4.9.13 and pilight up and running on all three platforms: Pi1, Pi2 and Pi3

Are there no Ooops / Panics reported by the Kernel upon booting ?
As an example start reading here:
https://archlinuxarm.org/forum/viewtopic...15&t=11354
and here:
https://github.com/raspberrypi/linux/issues/1447
 
Reply
#5
Okay and I really really thank you for your efforts to help me out and I'm sorry for the trouble.
I did not recognize any of these alerts. I also have tried another sender that I bought in the pilight shop, in order to eliminate faulty hardware as reason for this misbehaviour . But the results are still the same.
This RPi is only used to run pilight. I'm not that kind of kernel hacker, that is willing to invest tons of time in order to fix my entire system. I thought maybe there is a simple solution for my problem.
I like Arch as OS on my Desktop and RPi but it is not that important to me. So as quicker working solution for my purposes, I've setup Raspbian with pilight on my SD card and now everything works like it did before. Maybe I will give Arch another try in a few weeks.

Thanks,
Rafael
 
Reply
#6
Hello,

today, I've updated my Raspbian to the latest available version (4.9.24-v7+) and I faced the same issue as Ypsilon, namely the latest stable version of pilight stopped working and reported the same errors mentioned at the top of this post:

pilight-daemon: ERROR: hardware not supported
pilight-daemon: ERROR: could not initialize 433gpio hardware module

Hence I decided to download and install the latest development version of pilight but, even if no error is reported by pilight-daemon and it says the command has been sent, the devices actually don’t turn on anymore.

Thankfully I had a backup of my Raspberry that I could restore, at the cost of loosing some of my latest changes - but I’m ok.

But I decided to report the issue to this forum so that you guys are aware of the issue.

Thanks and best regards
 
Reply
#7
Same to me today, installed pilight on a fresh, up to date raspbian and get
[May 28 10:32:29:254253] pilight-daemon: ERROR: hardware not supported
[May 28 10:32:29:254338] pilight-daemon: ERROR: could not initialize 433gpio hardware module

Werner
 
Reply
#8
There is an issue with 4.9.x kernels that does not seem to be pilight related but having an impact on the gpio interface in general ....


Gesendet von iPhone mit Tapatalk
 
Reply
#9
I found a solution at raspberrypi.org:
reverting back to 4.4 kernel resolves the issue

$ sudo rpi-update 52241088c1da59a359110d39c1875cda56496764

$ uname -a
Linux raspberrypi 4.4.50+ #970 Mon Feb 20 19:12:50 GMT 2017 armv6l GNU/Linux

Werner
 
Reply
#10
I'm trying to compile pilight again on my Arch linux. I have installed all needed libraries (including wiringx for Arch linux). However I get the following error, and I have no clue where how to fix this:


Code:
Scanning dependencies of target pilight
[  0%] Building C object CMakeFiles/pilight.dir/libs/avrdude/avrgpio.c.o
/domotica/pilight/libs/avrdude/avrgpio.c: In function 'gpio_setpin':
/domotica/pilight/libs/avrdude/avrgpio.c:58:22: error: 'PINMODE_OUTPUT' undeclared (first use in this function); did you mean 'PWM_OUTPUT'?
 if(gpio_fds[pin] != PINMODE_OUTPUT) {

Does anybody have an idea?
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Bug: double free or corruption in pilight-send blackzombie 12 123 10-07-2019, 08:15 PM
Last Post: blackzombie
  pilight-control modify values coolinx 2 84 09-20-2019, 07:24 PM
Last Post: coolinx
  [Fixed] High CPU usage when pilight usb nano disconnects DieterK 1 136 08-13-2019, 05:43 PM
Last Post: curlymo
  pilight Nano USB interface curlymo 228 97,267 07-10-2019, 06:14 PM
Last Post: curlymo
  problems compiling pilight on Odroid C2 WitchDoctor 101 9,790 03-14-2019, 09:01 PM
Last Post: curlymo
  pilight 8 what chages for custom protocols? polo 11 2,924 02-15-2019, 06:22 PM
Last Post: polo
  pilight-debug shows nothing minhdomanh 3 544 10-18-2018, 07:01 AM
Last Post: felfert
  pilight-send and pilight-daemon DieterK 0 566 06-20-2018, 12:44 AM
Last Post: DieterK
  Lights not switched on or off by rules in pilight 8.1.0 rorie 22 2,503 06-12-2018, 03:56 PM
Last Post: curlymo
  check API in pilight 8 stratege-0815 4 1,405 02-11-2018, 09:34 AM
Last Post: stratege-0815

Forum Jump:


Browsing: 1 Guest(s)