But piezo data is enough for me as I currently don't plan to use other rain sensor
LoxBerry-Plugin: FOSHKplugin - Wettergateway Froggit DP1500 / Ecowitt GW1000 anbinden
Einklappen
X
-
And by the way, I have v0.0.9 that's why conversion doesn't work in my setup (I've read that it will be fixed in v0.0.10).
But piezo data is enough for me as I currently don't plan to use other rain sensorNoch ein oder zwei Jahre mit Loxone und ich werde Deutsch sprechen ☺ -
Thanks! Are those names going to be with mm suffix or without in the future?
What values should I use?
I see drain_piezomm=4.09 and FOSHK-drain_piezo [4,09] in the UDP monitor (and all data in pairs for that) and I'm a bit confused
Btw, strangely I'm unable to remap those values to translated names as you suggested on wxforum (but with translated names with mm not in[ch])
I've added
Code:FWD_REMAP = rainratemm=@rrain_piezomm,eventrainmm=@erain_piezomm,hourlyrainmm=@hrain_piezomm,dailyrainmm=@drain_piezomm,weeklyrainmm=@wrain_piezomm,monthlyrainmm=@mrain_piezomm,yearlyrainmm=@yrain_piezomm
Zuletzt geändert von TomekWaw; 23.06.2023, 14:00.Noch ein oder zwei Jahre mit Loxone und ich werde Deutsch sprechen ☺Kommentar
-
These names going to be with mm suffix.
I guess you see them twice because the Loxone-UDP monitor shows them (also) as the Loxone-variables - the names of the virttual inputs.
Regarding the remap function have a look to the help pages - the input names may be different - so just use in instead of mm.
Oliver
-
-
ich hatte erst spät festgestellt, dass das FOSHK Plugin nach dem Loxberry Update von 2.2.2.2 auf 3.0.0.6 nicht mehr funktioniert hatte. Ein Restart des Plugins (Über WebFE) hatte nicht geholfen. Die Links zu den 3 Logfiles konnten alle nicht aufgelöst werden = keine Logfiles vorhanden.
Ich hab dann das Plugin neu bzw. drüber installiert (gleiche 0.0.9), danach funktionierte das Plugin wieder normal. Da es auch mit anderen Paketen beim Loxberry-Update auf v3 ein Problem gab (Ursache war root-folder hatte falsche Rechte - loxberry User statt root), gab es eventuell auch bei dem Update der FOSHK Pakete beim Loxberry v3 Update ein Problem. Durch die nochmalige Installation wurde es dann repariert.Zuletzt geändert von Gerrit; 23.06.2023, 15:45.Kommentar
-
Gerrit, danke fuer die Info.
Ich hoere zum ersten Mal von diesem Problem. Wenn aber auch andere Plugins betroffen waren, liegt ein uebergeordnetes Problem nahe.
Als Rat an die Nutzer kann man dann wohl beim Upgrade des LoxBerry von v2 auf v3 die moeglichst zeitnahe Pruefung, ob alle Plugins funktionieren, zusammenfassen.
Vielleicht sollte ich kuerzere Release-Zyklen einfuehren, damit haeufiger ein Update gemacht werden kann ...
;-)
Oliver
Kommentar
-
potentiell gabs auch weniger Fälle, weil es auch einige gab, die dann lieber gleich komplett neuinstalliert haben, statt auf langwierige Fehlersuche zu gehen (denke der Fehler wird durch eine ältere Zwischenversion o.ä. schon länger bei mir drin gewesen sein https://www.loxforum.com/forum/proje...323#post391323)
-
-
olicat my mistake, coping to clipboard the raw in UPD monitor was also coping Hex data and Objects column. So they are actually not doubled (see full UDP monitor text data below).
But I still have a problem with remaping. I've corrected it based on documentation to this (added missing @ before names:
Code:root@loxberry:/opt/loxberry# cat config/plugins/foshkplugin/foshkplugin.conf|grep REMAP FWD_REMAP=@rainratemm=@rrain_piezomm,@eventrainmm=@erain_piezomm,@hourlyrainmm=@hrain_piezomm,@dailyrainmm=@drain_piezomm,@weeklyrainmm=@wrain_piezomm,@monthlyrainmm=@mrain_piezomm,@yearlyrainmm=@yrain_piezomm FWD_REMAP=@rainratemm=@rrain_piezomm,@eventrainmm=@erain_piezomm,@hourlyrainmm=@hrain_piezomm,@dailyrainmm=@drain_piezomm,@weeklyrainmm=@wrain_piezomm,@monthlyrainmm=@mrain_piezomm,@yearlyrainmm=@yrain_piezomm
Then I've restarted plugin and still get only this:
Code:SID=FOSHKweather PASSKEY=533791E575xxxxxxxxxxxxxxxxxxx stationtype=GW2000A_V2.2.4 runtime=122006 dateutc=2023-06-23+19:21:52 loxtime=456787312 tempinc=24.0 humidityin=71 baromrelhpa=1022.59 baromabshpa=1005.59 tempc=21.8 humidity=63 winddir=242 windspeedkmh=0.0 windgustkmh=6.12 maxdailygust=10.44 solarradiation=0.24 uv=0 rrain_piezomm=0.0 erain_piezomm=4.09 hrain_piezomm=0.0 drain_piezomm=4.09 wrain_piezomm=4.09 mrain_piezomm=4.09 yrain_piezomm=4.09 ws90cap_volt=5.1 ws90_ver=133 wh90batt=3.28 freq=868M model=GW2000A interval=60 isintvl=61 isintvl10=61 dewptc=14.4 windchillc=21.8 feelslikec=21.8 heatindexc=21.7 windspdkmh_avg10m=2.9 winddir_avg10m=236 windgustkmh_max10m=6.12 brightness=30.4 sunhours=6.75 ptrend1=2 pchange1=1.6 wnowlvl=3 wnowtxt=sunny ptrend3=-1 pchange3=1.1 wproglvl=5 wprogtxt="nice for a long time"
Zuletzt geändert von TomekWaw; 23.06.2023, 21:42.Noch ein oder zwei Jahre mit Loxone und ich werde Deutsch sprechen ☺Kommentar
-
I've tried again with common names without @ (as they do not exist yet):
Code:FWD_REMAP=rainratemm=@rrain_piezomm,eventrainmm=@erain_piezomm,hourlyrainmm=@hrain_piezomm,dailyrainmm=@drain_piezomm,weeklyrainmm=@wrain_piezomm,monthlyrainmm=@mrain_piezomm,yearlyrainmm=@yrain_piezomm FWD_REMAP=rainratemm=@rrain_piezomm,eventrainmm=@erain_piezomm,hourlyrainmm=@hrain_piezomm,dailyrainmm=@drain_piezomm,weeklyrainmm=@wrain_piezomm,monthlyrainmm=@mrain_piezomm,yearlyrainmm=@yrain_piezomm
and still no successNoch ein oder zwei Jahre mit Loxone und ich werde Deutsch sprechen ☺Kommentar
-
Hi!
You have to use this remap scheme:
Code:rainratein=@rrain_piezo,eventrainin=@erain_piezo,hourlyrainin=@hrain_piezo,dailyrainin=@drain_piezo,weeklyrainin=@wrain_piezo,monthlyrainin=@mrain_piezo,yearlyrainin=@yrain_piezo
Only afterwards the output takes place via UDP (with metric variable names).
Oliver
-
-
olicat Thanks, I've tried this
Code:root@loxberry:/opt/loxberry# cat config/plugins/foshkplugin/foshkplugin.conf|grep REMAP FWD_REMAP=rainratein=@rrain_piezo,eventrainin=@erain_piezo,hourlyrainin=@hrain_piezo,dailyrainin=@drain_piezo,weeklyrainin=@wrain_piezo,monthlyrainin=@mrain_piezo,yearlyrainin=@yrain_piezo FWD_REMAP=rainratein=@rrain_piezo,eventrainin=@erain_piezo,hourlyrainin=@hrain_piezo,dailyrainin=@drain_piezo,weeklyrainin=@wrain_piezo,monthlyrranin=@mrain_piezo,yearlyrainin=@yrain_piezo
Code:root@loxberry:/opt/loxberry# cat config/plugins/foshkplugin/foshkplugin.conf|grep REMAP FWD_REMAP=rainratemm=@rrain_piezo,eventrainmm=@erain_piezo,hourlyrainmm=@hrain_piezo,dailyrainmm=@drain_piezo,weeklyrainmm=@wrain_piezo,monthlyrainmm=@mrain_piezo,yearlyrainmm=@yrain_piezo FWD_REMAP=rainratemm=@rrain_piezo,eventrainmm=@erain_piezo,hourlyrainmm=@hrain_piezo,dailyrainmm=@drain_piezo,weeklyrainmm=@wrain_piezo,monthlyrainmm=@mrain_piezo,yearlyrainmm=@yrain_piezo
But nothing works. Im running out of ideasNoch ein oder zwei Jahre mit Loxone und ich werde Deutsch sprechen ☺Kommentar
-
Hi!
Your FWD_REMAP line is correct (I also corrected mine above).
Have you set up a special forward to send the data to Loxone via UDP?
Or do you use the automatic function of sending to Loxone - without a special forward?
The FWD_REMAP only works with forward destinations. When sending to Loxone, I saw no need for remapping, as you can determine yourself at the destination which data you process and how.
Therefore, I do not understand why you want to remap the fields at all.
But:
If you change UDP_ENABLE in the config file to False and create a separate forward like this:
Code:[Forward-1] FWD_ENABLE = True # to deactivate this forward temporarily just set to False instead of deleting the URL (default: True) FWD_CMT = this forward sends the converted data via UDP to the destination:port FWD_URL = 192.168.15.255:12355 # URL of destination - broadcast datagrams on port 12355 FWD_TYPE = UDP # WU/UDP/LD/RAW/EW/RAWEW/RAWUDP/AMB/RAWAMB/WC/MT/AWEKAS/WETTERCOM/WEATHER365/REALTIMETXT/CLIENTRAWTXT/CSVFILE/TXTFILE/WETTERSEKTOR/MQTTMET/MQTTIMP FWD_SID = FOSHKweather # username for forward if necessary (SensorID for luftdaten.info) FWD_STATUS = False # FWD_TYPE=UDP only: if set to True attach current status on each outgoing datagram (default: False) FWD_WARNINT = 10 # threshold of unsuccessful forward attempts before warning FWD_REMAP = rainratein=@rrain_piezo,eventrainin=@erain_piezo,h ourlyrainin=@hrain_piezo,dailyrainin=@drain_piezo, weeklyrainin=@wrain_piezo,monthlyrainin=@mrain_pie zo,yearlyrainin=@yrain_piezo
But it is not really necessary to set up a special UDP forward and I see no reason why you should change any field names for Loxone.
Can you explain what you expect from this?
Regards, Oliver
Kommentar
-
I'm not really sure what kind of forward I am using. I have my gateway configured with this:
and the plugin with this:
.3 is Miniserver, .5 is Loxberry, .35 is GW2000
is this a special forward or automatic configuration?
So anyway, I wanted to have that data also under generic names in case I would add WH40 to my system in the future. But I might misunderstood their purpose.
Shell I just use the input in the left column on previous screenshot and forget about the inputs in the right column?Noch ein oder zwei Jahre mit Loxone und ich werde Deutsch sprechen ☺Kommentar
-
-
Hi!
You just use the standard and obviously no forward. You may click to the Optional settings - there you could configure a dedicated forward.
Or. - as I usually do - use vi and configure in the config file directly.
Anyway, I understand your approach and think of adding this feature in the future.
If you add a WH40 to your setup all the rain values of the WH40 are coming in with the old names and additionally also the values from the WS90 as something_piezo.
So you can compare and make use of the much more faster rain detection of the WS90.
OliverKommentar
-
I thought "Optional settings" is a header for last three input fields
I think I understand it all now.
I will keep using the data inputs I have and upgrade the plugin to future versions when you release them.
Thank you Oliver very much, you're very patient to my questions and helpful with your answers.
And [in general] thank you very much for this plugin, I believe I going to be a long time user.Noch ein oder zwei Jahre mit Loxone und ich werde Deutsch sprechen ☺Kommentar
-
Hallo olicat
Recht herzlichen Dank für deine unzähligen Stunden die du in das Plugin investiert hast.
Es ist nur großartig.
Zweites FOSHK Plugin am loxberry installiert.
Heute die von dir gesendete Version entpackt.
Änderungen in der config Datei durchgeführt wie im Wiki beschrieben.
Gepackt.
Installiert, Werte angepasst und alles funktioniert zu 100%
Wie das Wetter derzeit, EIN TRAUM.
DANKE!
FG
Lightpicture
Nur ein Netzwerkkabel ist richtiges WLANKommentar
-
Hi!
Von FOSHKplugin gibt es eine (neue) public Beta der v0.10.
Wer mag oder eine der unzaehligen neuen Funktionen nutzen moechte, kann diese Version ueber die LoxBerry-Plugin-Verwaltung installieren.
Dazu bitte diesen Download-Link nutzen:
Code:https://foshkplugin.phantasoft.de/files/loxberry-FOSHKplugin-0.0.10Beta.zip
Weiterhin gibt es benutzerdefinierte Push-Benachrichtigungen (etwa wenn ein Wert ein definiertes Limit uebersteigt), die automatische Erstellung von Bannern und Stickern (Demo) sowie die Ausgabe von benutzerdefinierten Outputs (etwa html-Seiten - Beispiel1 und Beispiel2).
Auf der Seite zur generic version gibt es auch zu diesen neuen Funktionen Erklaerungen und "Rezepte" mit Beispielen (auf Englisch).
Das komplette Changelog findet sich unter Version History (ebenfalls auf Englisch).
Der Grossteil der Dokumentation ist diesmal aus Zeitgruenden auf Englisch.
Bitte gebt Bescheid, wenn das fuer Euch nicht akzeptabel ist.
Gruss, Oliver
Zuletzt geändert von olicat; 05.07.2023, 06:34.Kommentar
Kommentar