Ethernet Gateway - How to get sensor data?
-
I am just getting my feet wet with mysensors and wanted to clarify how a controller gets data from the ethernet gateway.
Looking at the code, the data gets dumped to the ethernet connection in the writeEthernet method, I assume I need to connect somehow via sockets to get this data?
Does anyone know if there is any example code for reading this data into a controller (any language would be great as I am struggling to find anything on this)?
Out of curiosity is there a reason for doing it like this rather than pushing the data to the controller via a rest request or something?
Thanks for any help - everything else has been really straight forward so far
1 out of 1
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
No merge into master in the last 5 years, should we use development?
General Discussion • 23 Sept 2024, 17:48 • kiesel 3 Oct 2024, 14:18 -
What is form factor?
General Discussion • 9 days ago • Luosi 9 days ago -
Old hardware migration
General Discussion • 29 Feb 2024, 03:43 • dbemowsk 1 Mar 2024, 23:03 -
Running out of nodeId's
General Discussion • 3 Sept 2024, 07:33 • NielBierman 12 Oct 2024, 19:11 -
How to great variables
General Discussion • 16 May 2024, 14:43 • wint0178 22 Jul 2024, 06:11