Hello,
I put my values to influxdb for visualisation in Grafana.
But I have no success getting the values from my shelly devices to influx.
Had anyone tried this and can give me a hint howto?
Best regards,
Stefan
Hello,
I put my values to influxdb for visualisation in Grafana.
But I have no success getting the values from my shelly devices to influx.
Had anyone tried this and can give me a hint howto?
Best regards,
Stefan
Could you please show your configuration for influx db and an entity_id of a shelly that you want to include in influxdb?
Hello,
shellies are detected by StyraHem/ShellyForHASS
e. g. I would like to get the power of my shelly pro
sensor.shelly_shsw_44_339477_1_consumption
My influx config is
influxdb:
host: 192.168.88.10
port: 8086
database: home_assistant
username: ******
password: ************'
ssl: false
verify_ssl: false
max_retries: 3
Add the sensor you want to include like this:
influxdb:
host: 192.168.88.10
port: 8086
database: home_assistant
username: ******
password: ************'
ssl: false
verify_ssl: false
max_retries: 3
include:
entities:
- sensor.shelly_shsw_44_339477_1_consumption
ok, I have not done that, because of what is written in this tutorial
include
(list)(Optional)
Configure which integrations should be included in recordings to InfluxDB. If set, all other entities will not be recorded to InfluxDB. Values set by the exclude lists will take precedence.
I thought, if I dont write ine s.th to include everything will go to imflux
This is correct, but you don’t want to include everything.
Do you see other history in influxdb and just not for this shelly sensor, or no history at all?
OK, I have to apologize me! The sensors are all grouped. So everything is fine and I can find what I am looking for.
The default grouping provided by the influxdb integration seems weird to me too. Influx uses “measurements” instead of tables. And all sensors with the same unit_of_measurement are grouped together in the same “measurement” with tags to separate each entity. But things like the state of a light or switch are in their own measurement (named after the entity_id). It’s not obvious, at first, though it works once you get used to it.