logo elektroda
logo elektroda
X
logo elektroda

How to read BL0937 indications via HTTP GET on BL602?

Mad_Maxs 267 2
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20944530
    Mad_Maxs
    Level 11  

    Hi,
    Is it possible to pull the current BL0937 readings from the socket on BL602 with BL0937 via http request e.g. GET?
    I know that openBL is compatible with requests from Tasmota, but I can't find anywhere how to get a JSON response from the voltage measurement module
  • ADVERTISEMENT
  • #2 20944792
    p.kaczmarek2
    Moderator Smart Home
    You should be able to give as in Tasmota. See how it looks on me on BK7231:
    Screenshot of the OBK Delay Script interface with data on voltage, current, and other parameters. Screenshot showing JSON data with energy readings, including voltage 240.257278 and time 1970-01-01T00:00:00.
    I used URL:
    
    http://192.168.0.128/cm?cmnd=SENSOR
    


    Time shows 1970 because NTP I did not run. Check if it works on BL602 and let me know, I actually never had the BL602 + BL0937 combination and I have opened hundreds of devices.
    Helpful post? Buy me a coffee.
  • #3 20945068
    Mad_Maxs
    Level 11  

    That's exactly what I was looking for :) on BL602 with BL0937 it looks identical :) and there's a date cap on me too, because the iot network has no output to the world, nor even to the local ntp :) Thanks again for your help :) .
ADVERTISEMENT