Weather station (the easy way)


  • Hero Member

    0_1480253341024_upload-ebb7461f-ab8e-40cc-9abc-ce5a8ec4dc8c
    0_1480254024024_upload-482a7846-9931-49b2-b759-ca6cb4acc1eb 0_1480254065284_upload-790552c6-0edd-4e04-a464-1b92be935007 0_1480254104379_upload-a591595a-6924-492f-b385-18eaf8c2af75

    I'm still strugling with my 'innovative' weather station. I will be using a acceleration sensor and 'almost' ready. Hope to finish it this winter. In the mean time... at the Weather Underground website. It seems there are a lot of 'neighbours' within a circle of a few hunderd meters who invested and enormous amount in equipment and... publishing the measurements together with professional weather stations.
    0_1480252617383_upload-626f0fe3-b0a5-4bb1-ba04-f82ff8d748fa

    After a few minutes of searching, I found the work of Daniel Eichorn who built an esp8266 weather station which I was able to tweak a little and MySensor'ise..
    The work of Daniel is documented well and the libraries can be installed from the Arduino IDE library manager.

    I changed the "Weather underground" library a little to get more information from WU and added the MySensors stuff to to main sketch. You can find both on my git.

    below a MyController screenshot of a few weather parameters.
    0_1480253453530_upload-f3c59d46-d960-4792-9d24-ad7db1928036

    These values are sent to the controller

    	send(msgTemp.setSensor(temperatureChild).set(wunderground.getCurrentTemp().toFloat(),1)) ;
    	send(msgTemp.setSensor(temperatureDewpointChild).set(wunderground.getDewPoint().toFloat(),1)) ;
    	send(msgTemp.setSensor(temperatureFeelsLikeChild).set(wunderground.getFeelsLike().toFloat(),1)) ;
    	send(msgHum.set(wunderground.getHumidity().toFloat(), 0)) ;
    	send(msgPressure.set(wunderground.getPressure().toFloat(), 0)) ;
    	send(msgWindSpeed.set(wunderground.getWindSpeed().toFloat(), 0)) ;
    	send(msgWindGust.set(wunderground.getWindGust().toFloat(), 0)) ;
    	send(msgWindDirection.set(wunderground.getWindDegrees().toFloat(), 0)) ;
    	send(msgRain.set(wunderground.getPrecipitationToday().toFloat(), 0)) ;
    	send(msgRainRate.set(wunderground.getPrecipitationLastHour().toFloat(), 0)) ;
    	send(msgUV.set(wunderground.getUV().toFloat(), 0)) ;
    

    The hardware (a nodemcu / oled display / Ikea frame and duct tape..)
    0_1480254761682_upload-8dc9e1dd-f7e1-4ed3-b19a-c33d73c471d1


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.