NEWS
Meldung aus Node Red
-
Hallo, wahrscheinlich ist das nur ein dummer Anfänger Fehler aber ich weiss nicht wie diese Meldungen weg bekommen.
Die Werte und alles andere funktioniert, aber ich würde das gerne weg bekommen.
Hier einige Meldungen es sind sehr viele:node-red.0 2024-08-05 10:21:43.766 info State value to set for "node-red.0.Huawei.Inverter.Input_Power" has to be stringified but received type "number" node-red.0 2024-08-05 10:21:43.073 info State value to set for "node-red.0.Huawei.Meter.Active_Power" has to be stringified but received type "number" node-red.0 2024-08-05 10:21:37.705 info State value to set for "node-red.0.Huawei.Inverter.Input_Power" has to be stringified but received type "number" node-red.0 2024-08-05 10:21:34.836 info State value to set for "node-red.0.Huawei.Meter.Active_Power" has to be stringified but received type "number" node-red.0 2024-08-05 10:21:26.787 info State value to set for "node-red.0.Huawei.Inverter.Input_Power" has to be stringified but received type "number" node-red.0 2024-08-05 10:21:24.998 info State value to set for "node-red.0.Huawei.Meter.Active_Power" has to be stringified but received type "number" node-red.0 2024-08-05 10:21:23.864 info State value to set for "node-red.0.Huawei.Battery.Battery_Max_Discharge_Power_TEST" has to be type "number" but received type "object" node-red.0 2024-08-05 10:21:16.690 info State value to set for "node-red.0.Huawei.Inverter.Peak_Active_Power_of_current_Day" has to be stringified but received type "number" node-red.0 2024-08-05 10:21:16.081 info State value to set for "node-red.0.Huawei.Inverter.Modell ID" has to be type "string" but received type "object" node-red.0 2024-08-05 10:21:15.919 info State value to set for "node-red.0.Huawei.Inverter.Modell" has to be type "string" but received type "object" node-red.0 2024-08-05 10:21:14.332 info State value to set for "node-red.0.Huawei.Inverter.Input_Power" has to be stringified but received type "number" node-red.0 2024-08-05 10:21:13.603 info State value to set for "node-red.0.Huawei.Meter.Active_Power" has to be stringified but received type "number" node-red.0 2024-08-05 10:21:04.865 info State value to set for "node-red.0.Huawei.Inverter.Input_Power" has to be stringified but received type "number" node-red.0 2024-08-05 10:21:03.455 info State value to set for "node-red.0.Huawei.Meter.Active_Power" has to be stringified but received type "number" node-red.0 2024-08-05 10:20:55.412 info State value to set for "node-red.0.Huawei.Battery.Battery_Max_Discharge_Power_TEST" has to be type "number" but received type "object" node-red.0 2024-08-05 10:20:55.118 info State value to set for "node-red.0.Huawei.Inverter.Input_Power" has to be stringified but received type "number" node-red.0 2024-08-05 10:20:53.115 info State value to set for "node-red.0.Huawei.Meter.Active_Power" has to be stringified but received type "number" node-red.0 2024-08-05 10:20:47.053 info State value to set for "node-red.0.Huawei.Inverter.Peak_Active_Power_of_current_Day" has to be stringified but received type "number" node-red.0 2024-08-05 10:20:46.438 info State value to set for "node-red.0.Huawei.Inverter.Modell ID" has to be type "string" but received type "object" node-red.0 2024-08-05 10:20:45.890 info State value to set for "node-red.0.Huawei.Inverter.Modell" has to be type "string" but received type "object"
MOD-EDIT: Code in code-tags gesetzt!
-
@lito-0 dann ist der Datenpunkt vom Typ String und der Wert vom Typ Zahl.
Du musst eins von beiden Anpassen
-
Du solltest in den NodeRed adapter gar nichts schreiben. Das sollte man besser in 0_userdata.0 schreiben.
Generell musst Du bei Objekten eine JSON Node voranstellen. Also da stimmt was mit Deinem Flow nicht. -
@mickym Hallo danke für die Info, leider bin ich noch nicht in der Lage um das zu verstehen ich glaube das ich noch eine menge Hausaufgaben zu machen habe.
@Homoran Hallo ich habe sowohl im Datenpunkt wie auch in Node red die Daten je nach Wunsch auf String oder Objekt gestellt, die Meldung bleibt aber
-
@lito-0 Na Du hast doch iobroker-Out Nodes wo Du in diese Datenpunkte schreibst. Die musst Du doch nur erst mal suchen, am Besten über das Suchfeld im Info Tab
Und dann musst du dort halt deinen Flow ändern.