the_ma4rio
(Mario Nocker)
October 2, 2021, 12:22pm
1
Hello
i have a short question:
is there an possibility to send a expose every 1 minunte because it wont sync after restart anymore
here is my configuration
Blockquote expose:
- type: ‘power_2byte’
entity_id: ‘sensor.solaredge_kilowatt_sensor’
address: ‘20/3/1’
- type: ‘power_2byte’
entity_id: ‘sensor.solaredge_power_consumption’
address: ‘20/3/0’
- type: ‘power_2byte’
entity_id: ‘sensor.solaredge_grid_power’
address: ‘20/3/2’
farmio
(Matthias Alphart)
October 2, 2021, 12:29pm
2
I don’t understand what you meant here.
You can do an automation using the knx.send
service instead of an expose if you want regular sending intervals. Expose only sends on state changes.
the_ma4rio
(Mario Nocker)
October 2, 2021, 12:30pm
3
yeah okay thank u then i got to make a script or an automation?
Blockquote
the_ma4rio
(Mario Nocker)
October 2, 2021, 12:37pm
4
would this be right now i want to update it every minute.
i use it to switch on or off an 6kW heater when there is enugh energy but the logic is build in KNX
so i only need the updated solar power produktion sensor
farmio
(Matthias Alphart)
October 2, 2021, 12:41pm
5
You may need to cast the states to int or float, but I’m not sure. Just try it out and see if it works.
Your specific usecases should work fine with expose tough.
farmio
(Matthias Alphart)
October 2, 2021, 12:43pm
6
As I said: an automation. A script is invoked manually like a push button.
the_ma4rio
(Mario Nocker)
October 2, 2021, 12:47pm
7
okay thank u it worked so far