Hi Arthur!
Where is the best forum to discuss suggestions about FOSHKplugin? Unless I hear otherwise, I'll just post about a possible bug here.
No problem - this is the best place to discuss these things.
it seems that the FWD_REMAP does not seem to be working for WC.
No.
The FWD_REMAP is just working a bit different.
But you have found an interesting thing that I haven't come across yet. And actually you wouldn't have noticed it either if v0.09 behaved exactly as it was intended.
Because when only operating a WS90 (without an additional WH40), FOSHKplugin should already change the rain values to the traditional names when receiving the data from the console and BEFORE converting to the metric system. Then the "new" keys would not exist at all but only the traditional names.
Due to an error, however, exactly this does not happen - the error has already been fixed in my internal beta v0.10.
However, when operating both the WS90 and a conventional rain sensor - i.e. when both forms of the keys are sent - your question also arises - at least with Weathercloud (and all other services that require metric values).
Because there you have to tell FOSHKplugin via FWD_REMAP which keys it should use to pass on to the respective service.
In this respect, here is a good opportunity to explain this better.
You can only exchange Ecowitt fields or (within limits) add new fields. The output format (as it is sent to the destination - here WC) is not decisive, but the input format (as it comes from the weather station).
A complicating factor in the case of WC is that not the original Ecowitt keys are used, but the metric ones. And these metric keys have a slightly different name than the imperial variables.
With your FWD_REMAP:
FWD_REMAP = rainrate=@rrain_piezomm,et=@erain_piezomm,rain=@drain_piezomm
you set the key rainrate to the value of rrain_piezomm. The conversion routine to WC, however, does not check for the key rainrate but searches for the key rainratemm in order to pass its value on to WC as rainrate.
FOSHKplugin also searches for the key dailyrainmm for the daily amount of rain and passes its value to WC as rain. Your rain in FWD_REMAP is therefore simply ignored.
A correct FWD_REMAP for Weathercloud if you want to use the data of the WS90 would therefore be:
FWD_REMAP = rainratemm=@rrain_piezomm,dailyrainmm=@drain_piezomm
What you mean by et=@erain_piezomm is not quite clear to me. In Weathercloud, et stands for evapotranspiration, which is neither sent by the console nor calculated (yet) by FOSHKplugin.
At least et says something completely different than the amount of rain of the current rain event. Therefore, it is not advisable to report the event rainfall amount as et to WeatherCloud.
But the fundamental problem is, that I have deactivated the forwarding of unknown keys in WeatherCloud due to a lack of experience. I don't know how WC reacts to unknown keys. Therefore, your et=@erain_piezomm is ignored and not transmitted.
But I've been planning to take a closer look at WC for a while and to use the 30-day trial period for the extended Plus service.
At least I could then finally test to what extent the sensor values for temp2, hum2, soiltemperature, soilmoisture, leafwetness and air quality, which are not included in the free Basic Plan, are correctly transmitted by FOSHKplugin.
Because that should actually work - only I have never tested it (of course I send this data - only I cannot see them on the WC page).
So far I have hoped in vain that these values will also be available in the free Basic Plan at some point.
At the moment, however, I want to finish the new version v0.10. I will probably not be able to take care of WC until the end of the year at the earliest. Sending data to WeatherCloud is not such a high priority for me because the Ecowitt consoles can do this by default (even if not as well as FOSHKplugin). In any case, I have not yet had any enquiries regarding FOSHKplugin and WeatherCloud. You're the first one - thanks!
Most people probably use the built-in data transfer to WC and don't realise that there is a better way.
Regards, Oliver