Hi.
My internet box give me data on this url : http://ip.ip.ip.ip/api/v1/wan/xdsl
Data look like that :
[{“wan”:{“xdsl”:{“state”:“Connected”,“modulation”:“G.993.2-17A”,“showtime”:46243,“atur_provider”:“BDCM”,“atuc_provider”:“BDCM”,“sync_count”:1,“up”:{“bitrates”:8000,“noise”:141,“attenuation”:0,“power”:48,“phyr”:0,“ginp”:1,“nitro”:"",“interleave_delay”:0},“down”:{“bitrates”:50000,“noise”:76,“attenuation”:227,“power”:141,“phyr”:0,“ginp”:1,“nitro”:0,“interleave_delay”:0}}}}]
How to make a sensor, showing me if the state is “connected” or not, for example?
Thanks, and sorry for my bad english…