Thanks so much for your work here, really appreciated.
I have enabled Grott, got it working and enabled MQTT with Mosquitto. Realised early on that I need tl3 so enabled that and Grott appears to be working OK, connecting to MQTT and sending correct messages. I'm hitting an issue with the MQTT templates though and getting the below in the logs. I have tried many things but can't get it working, I believe it's to do with the MQTT discovery as MQTT shows the device but only the first 6 entities. Any ideas?
Hi Johan
Thanks so much for your work here, really appreciated.
I have enabled Grott, got it working and enabled MQTT with Mosquitto. Realised early on that I need tl3 so enabled that and Grott appears to be working OK, connecting to MQTT and sending correct messages. I'm hitting an issue with the MQTT templates though and getting the below in the logs. I have tried many things but can't get it working, I believe it's to do with the MQTT discovery as MQTT shows the device but only the first 6 entities. Any ideas?
Thanks in advance
Richard
2023-10-06 23:06:21.270 ERROR (MainThread) [homeassistant.components.mqtt.models] TypeError: unsupported operand type(s) for /: 'float' and 'NoneType' rendering template for entity 'sensor.ntcpa4600e_state', template: '{{ value_json.pvstatus | float / None }}', default value: default and payload: {"datalogserial": "JPC7A367R2", "pvserial": "NTCPA4600E", "pvstatus": 6, "pvpowerin": 0, "pv1voltage": 0, "pv1current": 0, "pv1watt": 0, "pv2voltage": 0, "pv2current": 0, "pv2watt": 0, "pvpowerout": 0, "pvfrequentie": 4995, "pvgridvoltage": 2398, "pvgridcurrent": 11, "pvgridpower": 0, "pvgridvoltage2": 0, "pvgridcurrent2": 0, "pvgridpower2": 0, "pvgridvoltage3": 0, "pvgridcurrent3": 0, "pvgridpower3": 0, "totworktime": 125579020, "eactoday": 406, "pvenergytoday": 406, "eactotal": 244515, "epvtotal": 260028, "epv1today": 224, "epv1total": 122996, "epv2today": 214, "epv2total": 121857, "pvtemperature": 366, "pvipmtemperature": 360, "pvboosttemp": 347, "bat_dsp": 515, "eacharge_today": 10, "eacharge_total": 9493, "batterytype": 1, "uwsysworkmode": 6, "systemfaultword0": 0, "systemfaultword1": 0, "systemfaultword2": 0, "systemfaultword3": 0, "systemfaultword4": 32, "systemfaultword5": 0, "systemfaultword6": 0, "systemfaultword7": 2048, "pdischarge1": 0, "p1charge1": 0, "vbat": 513, "SOC": 11, "pactouserr": 7553, "pactousertot": 7553, "pactogridr": 0, "pactogridtot": 0, "plocaloadr": 7500, "plocaloadtot": 7500, "spdspstatus": 6, "spbusvolt": 2924, "etouser_tod": 33, "etouser_tot": 76461, "etogrid_tod": 240, "etogrid_tot": 95543, "edischarge1_tod": 61, "edischarge1_tot": 50011, "eharge1_tod": 58, "eharge1_tot": 48482, "elocalload_tod": 236, "elocalload_tot": 242475, "grott_last_push": "2023-10-06T15:06:21.247927+00:00"}