Open henkiejan1 opened 5 years ago
How should the BME280 make a forecast? It can only detect the current situation.
So how do you imagine this forecast should be done?
This is my forecast code in NodeRed to get the value into Domoticz. So simple is a forecast.
if (pres < 966) { forecast = "4"; } else if (pres < 993) { forecast = "3"; } else if (pres < 1007) { forecast = "2"; } else if (pres < 1013) { forecast = "3"; } else if (pres < 1033) { forecast = "0"; } else { forecast = "1"; }
How should the BME280 make a forecast? It can only detect the current situation.
So how do you imagine this forecast should be done?
What also SargonoAssyria say. You can with the trend of the atmospheric pressure make a forecast. I could better name it barometer i think... ;)
So in my opnion it should be a great feature! :)
Ah OK, I get it :)
There is a small glitch in my code from above, this is the correct code:
if (pres < 966) { forecast = "4"; } else if (pres < 993) { forecast = "3"; } else if (pres < 1007) { forecast = "2"; } else if (pres < 1013) { forecast = "1"; // <-- 3 should be 1 } else if (pres < 1033) { forecast = "0"; } else { forecast = "5"; // Unknown }
I once reported it. It's more accurate here. https://github.com/letscontrolit/ESPEasy/issues/1558
I know, but than you have to preserve previous barometer values.
Yes. I believe that @TD-er will do it :)
It should be great if it is added quickly :) Is there a simple way to add it by myself via webinterface or something?
@henkiejan1 Not as far as I know. Even when implemented in rules, it would be quite some hassle.
Maybe a nice detail. When in hook up a BME280 to the pins of my OrangePi i get in Domoticz also the forecast. https://tweakers.net/ext/f/keBc9BCEFKuMfmJeu8jkYWp8/full.jpg
Can you see what data is sent to Domoticz via this orange pi? I can understand if it does keep track of trends in the air pressure, but I doubt things like "bewolkt" can be determined by that.
Can you see what data is sent to Domoticz via this orange pi? I can understand if it does keep track of trends in the air pressure, but I doubt things like "bewolkt" can be determined by that.
If i am correct is the sketch based on this MySensors sketch. https://forum.mysensors.org/post/76246 I will try to figure out some logs
Was this feature ever added?
What should be more great than have your own weather forecast from your own weather station. The BME280 is very precious but it can't give forecast information in MQTT. It should be great when implemented and see your own weather forecast. :)