network status - RA*

Do you have a question on how to do something.
Ask in here.
Post Reply
rrodriguess
Posts: 133
Joined: Sun Mar 09, 2014 11:01 am
Location: Santos - Brazil

network status - RA*

Post by rrodriguess »

hi

is there any way to check if the RA*:

a - has a local IP
b - is connected to the clound

?
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: network status - RA*

Post by rimai »

It will show on the status page on the controller
Roberto.
rrodriguess
Posts: 133
Joined: Sun Mar 09, 2014 11:01 am
Location: Santos - Brazil

Re: network status - RA*

Post by rrodriguess »

Hi Roberto

I mean check by the program.. not by the user
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: network status - RA*

Post by rimai »

Humm.
No. You can use a custom vars to store ip address, but there is no connection to cloud server check.
The mqtt protocol doesn't provide that info.
It's a subscription based and all subscribed clients receive the data without any discrimination of connection state.
What you can do is create your own heartbeat and keep listening to see if you get stuff from controller every x seconds, but I would think that listening for temperature or pH readings would do the same as they frequently change anyway.
Roberto.
Post Reply