× This is the optional category header for the Suggestion Box.

Request latest data of other nodes from RPi

9 years 9 months ago - 9 years 9 months ago #440 by freol
Hi,

I have several mysensor nodes collecting data around my house and everything works great! They are logged in the database and its all nice and easy to see the latest temperatures/humidities/air pressures etc. in the webinterface.

But I have been thinking of building a dedicated node with lcd screen to show the latest measurements from other nodes in a nice way. My first thought was to use the request function in the mysensors library but after some reading I understood that it can be used in two ways:
- requesting data from gateway, but only from its own child nodes
- requesting data directly from another node (but the other node need to be powered up and ready to respond)

Option one is not what I'm after since i was planning to show measurements from other nodes. And option two is not really an option fo rmy battery-powered sensor nodes.

As EasyIoT has the gateway/controller combined together with the database, I figured a nice feature would be to be able to request data from another node directly from the gateway ( fetching from database?) Thus, no need to communicate directly with the other sensor node.

Would this be possible?? :cheer:

Please Log in or Create an account to join the conversation.

9 years 9 months ago #449 by EasyIoT

freol wrote: Hi,

I have several mysensor nodes collecting data around my house and everything works great! They are logged in the database and its all nice and easy to see the latest temperatures/humidities/air pressures etc. in the webinterface.

But I have been thinking of building a dedicated node with lcd screen to show the latest measurements from other nodes in a nice way. My first thought was to use the request function in the mysensors library but after some reading I understood that it can be used in two ways:
- requesting data from gateway, but only from its own child nodes
- requesting data directly from another node (but the other node need to be powered up and ready to respond)

Option one is not what I'm after since i was planning to show measurements from other nodes. And option two is not really an option fo rmy battery-powered sensor nodes.

As EasyIoT has the gateway/controller combined together with the database, I figured a nice feature would be to be able to request data from another node directly from the gateway ( fetching from database?) Thus, no need to communicate directly with the other sensor node.

Would this be possible?? :cheer:


The easiest way is to send data to other node in automation module. When value is received from one sensor send this value to other sensor. I have temperature sensor outdoor and I'm displaying outdoor temperature on my thermostat which is another node.
The following user(s) said Thank You: Xavier

Please Log in or Create an account to join the conversation.

9 years 9 months ago #452 by Xavier
Good idea! B)

Please Log in or Create an account to join the conversation.

Time to create page: 0.223 seconds

Forum latest

  • No posts to display.