Homey Community Forum

[APP][Pro]Misol and Ecowitt. (version 0.1.5 and test 0.1.7 )

I have created an app to support a range of Misol and Ecowitt sensors, including the:

  • Soil moisture sensor,
  • Lightning detector,
  • PM10 and CO2 5 in 1 meter,
  • PM2.5 meter,
  • Weather station.

The app is available now in the Homey Community Store Homey Community Store and the Athom store Misol App for Homey | Homey

The app works with the Misol Gateway https://www.aliexpress.com/i/4000852618353.html and the Misol Soil Moisture sensor https://www.aliexpress.com/i/33056433752.html

To configure the gateway you will need the WS View app. In the Weather Services, select the Customized option and set the:

  • “Protocol Type” to “Same As Ecowitt”

  • “Server IP / Hostname” to the IP address of your Homey

  • “Path” remains as “/data/report”

  • “Port” set to “7777” (this can be changed if required but the Homey app will need to be configured to match)

  • “Upload Interval” set to 16

Note: As an alternative to entering Homey’s ip address you could also add it as a local url in the form http://homey-<id>.local where <id> is Homey’s cloud ID. Also notice the ‘-’ between homey and <id> as easy to miss that hidden away in there. Using this method allows for Homey’s IP to change.

Then save the settings.

The gateway should start pushing data to Homey.

Note: The communications between Homey and the gateway is over the local network so no internet connection is required. Data is pushed to Homey every 16 seconds, which is about the rate of the fastest sensor transmission rate so there is no noticeable lag.
Also the gateway can probably be located in a more convenient location than Homey so eliminate range issues of a direct connection to Homey using the radio.

Once the app has received the first packet you will be able to add the gateway device and soil moisture sensors, etc. Each gateway can handle 8 soil moisture sensors, 5 PM2.5 sensors, 1 lighting detector and one weather station, but you can also add multiple gateways.

The gateway also provides temperature, humidity and pressure data from it’s own sensors located on the short, black, cable.

Note: There are 3 version of the devices and gateways that work on different frequencies. Make sure the device and gateway frequencies are the same, e.g. all 433Mhz or all 868Mhz, etc.

Version Log

  • 0.1.0
    Initial release with support for the Gateway and Soil Moisture Sensors.

  • 0.1.1
    Add support for PM2.5 meters

  • 0.1.2
    Added Lightning Detector and Weather Station

  • 0.1.3
    Added Insights option to custom capabilities.

  • 0.1.4
    Added flow trigger for Air Quality changed.
    Fixed issue with settings not saving.
    Added logging to confirm server has started / show errors.

  • 0.1.5
    Updated battery percentage calculation for the soil moisture sensor and added an option to specify if the battery is type rechargeable.

  • 0.1.6
    Max. number of Soil Moisture meters is now 8.
    Time format of lightning strike can now be selected in the device Advanced settings.
    Lightning distance units fixed.
    Lightning flows fixed

  • 0.1.7
    Added the PM10 and CO2 5 in 1 meter.

8 Likes

Can the sensors also being used outside?

I can’t find any official IP rating so I can’t say for sure, but it looks like it should be OK. I have only just put mine outside so too soon to say if it will survive.
Luckily they are cheap, so if it does succumb to the elements then I will buy another one and add some extra protection. I was thinking of a rubber glove, using just the thumb and first finger, to put over the unit, or just put a pot over it.

1 Like

Yes great idea.

I have ordered more components to add to the gateway so hopefull in a month or so when they arrive I will be able to add support for:

and the PM2.5 sensor

Hello Adrian,
I can see from web that devices are communicating via 433 MHz RF frequency. Have you tried to bypass gateway and read device values directly?

I have, but I couldn’t get a decent sample of the signal so I have no idea what the format is.
As the bridge is so cheap I didn’t consider it worth spending too much time on it.
Also, when the sensors are in my garden, they are too far away from Homey to receive any signal.

1 Like

Just to confirm I have had theses sensors outside in some pretty bad weather for a few weeks now and they are fine. I’m fairly sure they are designed for outdoor use.

2 Likes

Mine are ordered. I hope they work.

https://www.growland.net/Ecowitt-Gateway-WLAN-Bodenmessgeraet-mit-Sensor?curr=EUR&gclid=CjwKCAjwqcKFBhAhEiwAfEr7zQ2BzRzjAxAaZ7PYU9CIos-laQoj03uOwiXYl7e8uPuMN5Q2RpTWfBoC9zIQAvD_BwE

Looks OK. I’m not what the relationship is between misol and ecowitt but I’m pretty sure they are the same products.

Hi Adrian,
I added the ecowitt.
It works really great.
Thanks a lot. I am searching so long time for a cheap soil moisture sensor.

1 Like

I received my gateway and lightning detector today and have connected it to Homey
Now I just need some lightning to test if it is working :slight_smile:
Are there a way to activate “fool” the lightning detector for testing?

Not that I know of.
We had a close storm the day before my lightning detector arrived but nothing since, so still not sure if mine is working.
I never thought I would see the day I wanted lightning in my area :rofl:

1 Like

@Adrian_Rockall
Got the first lightning today :slight_smile:
Lightning time is show as unix timestamp, could you convert it

Ah, OK, no problem. I’m on holiday this week so it will be on Sunday.
I’m still waiting but it keeps just missing us.

No problem, have a nice holiday

Another thing
The and card “lightning distance is less then” shouldent “%” have been Km.?

I do not know how to test my flow as it is only possible to write lightning strike no.
I think we also need to write distance to test it :slight_smile:

You’re right. I think it is probably just a typo but I will check that as well.

Another thing, sorry :slight_smile:
The flowcard “number of lightning strikes changed” are not working
I made this simple log, but nothing is recorded, even there has been a lot of lightning strikes

Ok, I will add it to the list. Hopefully I will get some lightning to be able to test it :wink:

1 Like

Fixed in new test version

Fixed in new test version

I have no control over that unfortunately as it is built in to the Homey core.

Fixed in new test version.

Edit: Existing flows might need to be fixed as I had to make some changes to prevent clashes with the new standard flows.