I can’s see any sensor, i’ll be great full for help
at the configuration.yaml I do not have
secret: !include secrets.yaml
because I get this message :
Integration error: secret - Integration ‘secret’ not found.
at my secrets.yaml:
firetab_rest: http://[ip]:2323/?cmd=deviceInfo&type=json&password=***
firetab_screen_on: "/usr/bin/curl -X POST 'http://[ip]:2323/?cmd=screenOn&type=json&password=***'"
firetab_screen_off: "/usr/bin/curl -X POST 'http://[ip]:2323/?cmd=screenOff&type=json&password=***'"
firetab_screen_state: '/usr/bin/curl --silent -X GET "http://[ip]:2323/?password=***" |grep "Screen status" |grep "on\|off" |sed "s/<[^>]*>//g" |sed "s/Screen status//g" |sed "s/Turn on//g" |sed "s/Turn off//g"'
and at sensors.yaml
I got these:
- platform: rest
name: firetab
json_attributes:
- batteryLevel
- kioskMode
- screenBrightness
- motionDetectorState
- maintenanceMode
- appFreeMemory
- appUsedMemory
- totalFreeMemory
- totalUsedMemory
- hostname4
- ip4
- mac
- locationLatitude
- locationLongitude
- locationAltitude
- startUrl
- currentPage
resource: !secret firetab_rest
value_template: '{{ value_json.isScreenOn }}'