[RE-RELEASE] EcoWitt and Wittboy Weather Stations And Sensors (Local)

also what other sensors do you have i dont think the rain is coming from that sensor , we alrready handle that attrib so not sure why yours is not.. what versoin are you running of the ecowitt drivers

ie

//
// Rain Gauge Sensor (WH40 -> WH69)
//
case "wh40batt":
case "rainratein":
case "eventrainin":
case "hourlyrainin":
case "dailyrainin":
case "weeklyrainin":
case "monthlyrainin":
case "yearlyrainin":
case "totalrainin":
case "last24hrainin":
updated = sensor(it.key, it.value, 4);
break;

  // Rain ws90)

i stand corrected this attribute is in my version but not the official apparently

here is support for the new sensor with new attributes on top of humidity and battery

//lgk 11/26 new wh52 soil attributes
attribute "soilElecConductivity", "number"
attribute "soilADCRaw", "number"
attribute "soilMoistureRaw", "number"
attribute "soilTemperature", "number"

you also need to goto the parent driver and run the

update sensor ids function after installing the code..

both the sensor and gateway code will need to be updated

gateway:

sensor:

\

i dont have any soil sensors so let me know if you see any issues or get errors in the logs (if you decide to use my version)

Thanks for stepping in again @kahn-hubitat , I really do appreciate it. I will get back to these drivers over the New Year, if not before.

Grab yourself a Claude sub and Opus 5.5 will speed up your Hobby coding projects dramatically! The $34 AUD a month sub is mega value for money IMO.

I built a new CNC pendant Firmware for FLuidNC machines with Claude and it would have never happened without it.

Thanks Kahn > I installed your version > Got Device Added > Got Data > Getting these errors

that was a typo obviously but that in itself would not fix it.. i had to add a new fx as for some reason the soil ad and ec readings even though numbers are coming through as strings..

so try the new version.. driver only..

i assume you see the device and got some readings anyway.. also still may need to do some rounding of the numbers when i see what you are getting.

A question and an observation....

So, I noticed that my supercap (battery) on my WS90 had stopped fully charging. (I had not been monitoring the values, and it is charging enough to work... but apparently only barely). Anyhow, noticed the value was abnormally low for a bright sunny day. Then looked at the trend and decided I would checkin with their support.


They e-mailed me back (less than 24 hours) and told me my supercap had failed, and would I like a new one under warranty. I said "sure" I would love one under warranty, but it has been almost 2 years. They sent me a response stating that the cap is still under warranty and are sending me a whole new unit. (Kinda awesome I think)

Anyhow, once it gets here, and I replace the unit, is it going to get a whole new ID and such in the integration? Am I gonna need a place holder so that I can swap it out? These are all child devices. So, if I swap it out, I am gonna have to do it manually, correct?

unfortunately yep

Ugh, that is what I was afraid of.

you can do a replace of the parent weather station with another as they are devices.. never tried it but i doubt the children will swap over.. but maybe a chance..

They won't if they are children. I was hoping there was a snowball's chance that it would drop in the same ID slot since it will be in the only WS slot on the gateway.

will it? I mean I should probably know... :slight_smile: I thought that if it was the same model on the same channel the readings would go to the same device in HE? And for a PWS the channel would not come into play...

Oh... that would be welcome news. I will have to report back once I get the new PWS. I am sure that it is going to take a bit since it is coming from Ecowitt directly.

Actually that might have been what @kahn-hubitat meant by:

By this do you mean that you have not bundled the PWS sensors together?

Or just generally with how HE works?

My theory would also depend on you continuing to use the same gateway.

It is a WS90 - which is the 7 in 1


So it shows as a child sensor to the main gateway device. Swap apps doesn't work in hubitat with child devices.... it is like they are seen and not heard LOL (like children should be according to my older family members). So yes, this

And yes, I am using the same gateway. I just wasn't sure if it would get a new ID because the Ecowitt hex address for the device will change once I pair it to the gateway. I am just REALLY hoping I don't have to go and fix all the dashboards and rules I have manually.

ok, by bundling I meant whether you had configured that in HE, which it looks like you have. By look of how the driver works and the DNI's allocated, they take on the gateway's device id in HE with the model and, if applicable, the EcoWitt channel. So I'd expect if it is a clean swap on the EcoWitt side, it should just start populating the same device in HE. But don't quote me... :wink:

I'll report back whenever it gets here. Not complaining about the slow boat from you know where.... cause their support was surprisingly good. I was fully expecting to have to buy a new one.