Weather data via raspberry pi and node-red

Begonnen von david, 26. Februar 2019, 09:11:30

Vorheriges Thema - Nächstes Thema

0 Mitglieder und 2 Gäste betrachten dieses Thema.

david

Because of all the problems with the weather blocks: not supported, no free accounts, especially change of data, or only json...
I decided it would be much easier to use node-red to get the weather data and to send it to the PLC via spidercontrol web variables.
There are several nodes for different weather providers (openweathermap, darksky...)
Attached an example node-red flow where I get the weather data from DarkSky and send it to my Phoenix Contact plc. I keep using the Oscat_Yahoo struct inside the PLC (set as PDD), so in the plc I only had to disable the Yahoo weather function block call.

[gelöscht durch Administrator]