• 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
Issue send actions over Socket API in AdHoc network
#1
Dear all,

I've been using pilight for min. 3 years now and so far for every issue that I came across I was able to find a solution by reading the manual or someone had posted a solution on the forum. However, this time I couldn't find a solution for my rather exotic issue.

In order to have batter coverage I'd moved to an adhoc setup which is working well in general. As long as I use the REST API or the build in WebIf to switch my devices everything works as it's supposed to.


Sample http request: pi:5001/send?protocol=pollin&on=1&systemcode=9&unitcode=2&uuid=0000-b8-27-eb-dffca2

The uuid is important here. If it's not provided the socket will not switch. This is a known fact and not my issue.

The actual issue is that I'm not able to switch my devices using the Socket API. Also, I've noticed that the uuid parameter is not documented as part of the action object. I believe if the uuid could be passed over via the Socket API it would solve my issue. On the WebIf the switches change when I send  the Socket message, but my device doesn't switch.

The version of pilight I'm running here is 8.1.4 from the nightly repo.

Any advice would be welcome.

Regards
G.
 
Reply
  


Messages In This Thread
Issue send actions over Socket API in AdHoc network - by ggtrts - 02-24-2019, 10:34 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  [Fixed] Segmentation fault when using Socket API wrong tomk 2 45 08-19-2019, 07:09 PM
Last Post: curlymo
  Send pulsestream via API Phunkafizer 19 909 02-27-2019, 09:54 PM
Last Post: curlymo
  pilight-send and pilight-daemon DieterK 0 506 06-20-2018, 12:44 AM
Last Post: DieterK
  AdHoc network with 2 Raspberry and 2 GPIO transmitter not working webdandy 29 6,215 09-06-2017, 02:39 PM
Last Post: wseifert
  BUG: BMP180 in AdHoc Network Alex 5 1,518 06-19-2016, 02:24 PM
Last Post: Alex
  AdHoc network with different senders Mr.Montesa 6 2,663 02-11-2016, 01:29 PM
Last Post: Karel
  Switching ceiling fan with pilight-send -p raw gadget 4 2,598 01-12-2016, 07:39 PM
Last Post: eunger
  cannot bind to the ssdp multicast network wo_rasp 1 2,830 09-22-2015, 12:10 PM
Last Post: curlymo
  Disable adhoc network? heikoh81 5 3,400 09-17-2015, 09:01 PM
Last Post: heikoh81
  Sending with 2 transmitters (AdHoc) tobid 11 4,250 08-23-2015, 05:12 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)