Hi there,
I’ve developed a new binding which reads out data of my sma inverter.
Everything is working fine so far but the items on my sitemap page are not showing anything and do not receive any updates…
So in my binding, if a value has changed for the current daily production value I update the state:
updateState(SMAInverterBindingConstants.CHANNEL_DAILY, new DecimalType(dailyProduction.doubleValue()));
My thing is properly configured:
Thing smainverter:inverter:tpl10k
My item has been added to the .items file:
Number SMA_Daily_Prod "Daily production [%.1f kWh]" <solarplant> { channel="smainverter:inverter:tpl10K:daily" }
and my sitemap does contain the item:
Frame label="SMA Inverter" {
Text item=SMA_Current_Prod
Text item=SMA_Daily_Prod
Text item=SMA_Total_Prod
}
and of course my channel is exposed via pom.xml
<channels>
<channel id="daily" typeId="daily" />
<channel id="current" typeId="current" />
<channel id="total" typeId="total" />
</channels>
Images and text is shown fine, but no value is added, every label contains a “-”.
Am I missing anything?
Would really appreciate any help, thank you very much in advance