Dane do Ha z terminalu idą, te opcje json oczywiście mam załączoną. Dane do Ha zaciągane są przez nodered-a a później za pomocą pomocników wyświetlane w HA tak jak sugerowali wcześniej koledzy.
tutaj odpowiedz z terminala
{
"info": {
"hst": "pvmterminal.local",
"myip": "192.168.11.234",
"pvsno": "010E00B5",
"pvver": "1.20+",
"pvmmi": "11948",
"pvme": "88280",
"pvrst": "3",
"pvstrt": "2021-12-29 09:20:46",
"pvrnt": "01d 01:29:16",
"s_bh1750": "0",
"s_bmp180t": "0.00",
"s_bmp180p": "0"
},
"rs485": {
"emetersread": [
{
"emtbl": "#emtbfw",
"em_#": "0",
"em_Adres": "1",
"em_Nazwa": "sofar",
"em_Czas odczytu": "10:49:57",
"em_Status": "OK",
"em_Błędy": "0",
"em_Typ": "Falownik Sofar KTL-X",
"em_StatusFW": "0002",
"em_P gen": "990",
"em_P DC1": "750",
"em_P DC2": "250",
"em_En gen": "10612.0",
"em_En day gen": "1.38",
"em_V DC1": "708.8",
"em_V DC2": "244.9",
"em_I DC1": "1.07",
"em_I DC2": "1.02",
"em_En DC1": "0.0",
"em_En day DC1": "0.00",
"em_En DC2": "0.0",
"em_En day DC2": "0.00",
"em_V L1": "221.8",
"em_V L2": "225.8",
"em_V L3": "228.1",
"em_I L1": "1.69",
"em_I L2": "1.71",
"em_I L3": "1.69",
"em_Tm [h]": "4641",
"em_TmD [min]": "186",
"em_Temp": "16.0",
"em_Temp in": "35.0",
"em_PF": "0.00"
}
]
},
"pulse": {
"empulseread": [
{
"em_#": "0",
"em_Nazwa": "Pompa",
"em_Czas odczytu": "10:48:56",
"em_Impulsy": "1747735",
"em_P": "0",
"em_kWh": "2184.601"
}
]
},
"sum": {
"emsumread": [
{
"em_Nazwa": "Suma poboru",
"em_Czas odczytu": "10:50:01",
"em_P": "0",
"em_kWh": "1193.426"
},
{
"em_Nazwa": "Suma generacji",
"em_Czas odczytu": "10:50:01",
"em_P": "990",
"em_kWh": "213.070"
}
]
},
"18b20": {
"ds18b20read": [
{
"s_ds18b20nr": "0",
"s_ds18b20a": "7a000002b7ed5f28",
"s_ds18b20n": "Temp.zewn<br>",
"s_ds18b20i": "1",
"s_ds18b20p": "16",
"s_ds18b20c": "0.00",
"s_ds18b20v": "6.00",
"s_ds18b20t": "10:49:39",
"s_ds18b20e": "OK",
"s_ds18b20ec": "0"
},
{
"s_ds18b20nr": "1",
"s_ds18b20a": "b900000adfaa2228",
"s_ds18b20n": "Temp.zasil.podłogi",
"s_ds18b20i": "1",
"s_ds18b20p": "22",
"s_ds18b20c": "0.00",
"s_ds18b20v": "12.25",
"s_ds18b20t": "10:49:41",
"s_ds18b20e": "OK",
"s_ds18b20ec": "0"
},
{
"s_ds18b20nr": "2",
"s_ds18b20a": "543c01e076936a28",
"s_ds18b20n": "Temp.wew",
"s_ds18b20i": "1",
"s_ds18b20p": "15",
"s_ds18b20c": "0.60",
"s_ds18b20v": "21.60",
"s_ds18b20t": "10:49:43",
"s_ds18b20e": "OK",
"s_ds18b20ec": "0"
},
{
"s_ds18b20nr": "3",
"s_ds18b20a": "1b3c01f095020628",
"s_ds18b20n": "CWU",
"s_ds18b20i": "1",
"s_ds18b20p": "0",
"s_ds18b20c": "0.00",
"s_ds18b20v": "42.56",
"s_ds18b20t": "10:49:45",
"s_ds18b20e": "OK",
"s_ds18b20ec": "0"
}
]
}
}