Replacing demo data with real data fails
I'm using the wem3080 to measure pv power generation. The example code gets data without problem:
sensor:
#-----SolarMeterSimulation-----
- platform: rest
name: solar
json_attributes:
- data
- successful
- message
resource: https://www.iammeter.com/api/v1/site/meterdata/B384789C?token=ec0aeb9c07e24368b5fd9bb3b42a3095
method: GET
#username: admin
#password: admin .... etc.
but when I replace the resource with:
resource: https://192.168.1.25
all data is then unavailable. Can anyone offer some advice?
This data is return by the IAMMETER-cloud 12 API interface , the original data is the demo account in IAMMETER-cloud.
you can use the demo for IAMMETER-local: https://www.youtube.com/watch?v=A8xNTtWG4Dw
I'm using the wem3080 to measure pv power generation. The example code gets data without problem:sensor:
#-----SolarMeterSimulation-----
- platform: rest
name: solar
json_attributes:
- data
- successful
- message
resource: https://www.iammeter.com/api/v1/site/meterdata/B384789C?token=ec0aeb9c07e24368b5fd9bb3b42a3095
method: GET
#username: admin
#password: admin .... etc.but when I replace the resource with:
#-----SolarMeterSimulation-----
- platform: rest
name: solar
json_attributes:
- data
- successful
- message
resource: https://www.iammeter.com/api/v1/site/meterdata/B384789C?token=ec0aeb9c07e24368b5fd9bb3b42a3095
method: GET
#username: admin
#password: admin .... etc.but when I replace the resource with: