I pasted it to the bottom the the ambientweather driver
Oh NVM I got it
Just says null
Now I have no idea
Not too sure what you did to the driver code, copy and paste here what you did
it wont let me put it in here
Should look like:
def parse(String description) {
def msg = parseLanMessage(description)
log.debug msg
def body = msg.body // => request body as a string
so remove the space between the bracket on the top right and string description and remove the spaces before //?
or just the space before log.debug
No, just exchange the two lines from
log.debug msg
def msg = parseLanMessage(description)
to
def msg = parseLanMessage(description)
log.debug msg
oh ok
huh
2020-01-30 12:55:16.353 pm infoLiving room motion 2 is inactive
dev:2202020-01-30 12:55:08.560 pm debug[mac:B4E62D75A987, ip:c0a8011e, port:369b, headers:[POST /aaa HTTP/1.1:null, Connection:close, Host:192.168.1.29, Content-Length:333, Content-Type:application/x-www-form-urlencoded], body:PASSKEY=9EE87E64EF742F7FF9BCB78997394207&stationtype=GW1000B_V1.5.6&dateutc=2020-01-30+17:55:06&tempinf=77.7&humidityin=16&baromrelin=29.811&baromabsin=29.811&soilmoisture1=23&soilmoisture2=0&soilmoisture3=0&soilmoisture4=42&soilmoisture5=0&soilbatt1=1.6&soilbatt2=1.5&soilbatt3=1.6&soilbatt4=1.6&soilbatt5=1.6&freq=915M&model=GW1000, header:POST /aaa HTTP/1.1 Connection: close Host: 192.168.1.29 Content-Length: 333 Content-Type: application/x-www-form-urlencoded
i see the sensors but hubitat ddoesnt
and three of them are indeed out of soil for testing
its funny u can tell which is the cactus lol
Yea, the driver is using a different name, soilhum1 instead of soilmoisture1, not a big change to make in the code. Not too sure if both name exists or the driver was never tested with that.
You just need to replace all instances of soilhum with soilmoisture in the code, there are 60 of them, I could change it for you and provide you the file...
I took the latest driver, made the changes and put it here
You will need to update the preferences to change "Which method of obtaining weather data do you want to use? *" to Ecowitt
I will ask the driver owner to make the changes, I think you also have the battery status not showing, those might also be added in the official release of the driver...