[RELEASE] Free Meteobridge Weather Station

dth_weather

(Jack R) #22

Yahoo!! Yep. It was the older software. You should add to your setup instructions that meteobridge is on SW version XXX or later.

Thanks for your help


(Barry) #23

Updating the docs now…thank YOU for working through it with me…


#24

How does this differ from WeeWX?


(Barry) #25

WeeWX is standalone software that interacts with your weather station; this SmartThings DTH allows you to see and write SmartThings programs (using Groovy or WebCoRE) using the weather info from your Meteobridge-connected weather station.


#26

Can I switch out the weather underground with darksky?


#27

Hi @storageanarchy,

I’m attempting to port this code to Hubitat, which I know isn’t something you’re going to provide support. But I’m curious about the field “Meteobridge Setup: Setup meteobridge access”. I can’t figure out what this is for based on code…


#28

Doesn’t SEEM to be needed based on what I just got.

Curious, have you tested this against a Meteobridge Nano or Pro? I have a Nano SD (tied to a Vantage Vue) and it’s dumping out:

**"forecast":{"text":"[forecast-text:]","code":[forecast-rule]},"current":{"date":"[M]/[D]/[YY]","time":"[H]:[mm]:[ss] [apm]","humidity":[th0hum-act=.2:null],"indoorHum":[thb0hum-act=.2:null],"temperature":[th0temp-act=F.2:null],"dewpoint":[th0dew-act=F.2:null],"heatIndex":[th0heatindex-act=F.2:null],"windChill":[wind0chill-act=F.2:null],"indoorTemp":[thb0temp-act=F.2:null],"indoorDew":[thb0dew-act=F.2:null],"highTemp":[th0temp-dmax=F.2:null],"lowTemp":[th0temp-dmin=F.2:null],"rainfall":[rain0total-daysum=in.3:null],"rainLastHour":[rain0total-sum1h=in.3:null],"evapotranspiration":[sol0evo-act=in.3:null],"rainRate":[rain0rate-act=in.3:null],"pressure":[thb0seapress-act=inHg.2:null],"windGust":[wind0wind-max10=mph.2:null],"windAvg":[wind0wind-act=mph.2:null],"windDegrees":[wind0dir-act:null],"windSpeed":[wind0wind-act=mph.2:null],"windDirText":"[wind0dir-act=endir:null]","pressureTrend":"[thb0seapress-delta1=enbarotrend:N/A]","dayHours":"[mbsystem-daylength:]","highHum":[th0hum-dmax=.2:null],"lowHum":[th0hum-dmin=.2:null],"sunrise":"[mbsystem-sunrise:]","sunset":"[mbsystem-sunset:]","dayMinutes":[mbsystem-daylength=mins.0:null],"uvIndex":[uv0index-act:null],"solarRadiation":[sol0rad-act:null],"lunarAge":[mbsystem-lunarage:],"lunarPercent":[mbsystem-lunarpercent:],"lunarSegment":[mbsystem-lunarsegment:null],"moonrise":"[mbsystem-moonrise:]","moonset":"[mbsystem-moonset:]","isDay":[mbsystem-isday=.0],"isNight":[mbsystem-isnight=.0]}}**

So clearly it’s not grabbing expected data…


(Barry) #29

I just posted an update (1.0.31) that re-enables DarkSky as an option for the Forecast source. You will also need your own DarkSky key.


(Barry) #30

I’m not sure where you are seeing that text, but that is just the template that is going to be requested from your MeteoBridge/Hub/Nano/Pro…


(Barry) #31

That specific input command is merely printing some text and creating a logical break in the preferences page (since you can’t use pages, this is a little trick).


#32

I do not have a PWS, so will have to go a different route on this one.


#33

Hmm… it shows up when I turn on debugging. It looks like it’s reporting what the meteoTemplate fields are.

Sadly, it doesn’t seem to be grabbing actual data from the meteobridge. I need to dig into what it’s actually doing a bit more.

Could be I’m not doing something right with conversion. Need to dig more.

Thanks!


#34

works perfectly with my ST setup…

for whatever reason, it’s failing on Hubitat. getting a

meteoWeatherCallback() - Missing hubResponse.json (200)

Similar on purple air response (though that might be because of the name of the sensor…)


(Barry) #35

I’m pretty sure that the asyncHttp call is slightly different on Hubitat (different name, perhaps?). IIRC, the required include/import file is also named differently.


#36

yeah. it’s just asynchttpGet. it’s working for DarkSky. Maybe I’m miss understanding the Sensor ID bit for purpleair… I’ve got it as “LRAPA-Springfield City Hall”


(Barry) #37

PurpleAir sensor IDs are a 4-5 digit number - you want the first of the pair that will appear in the JSON list of devices from PurpleAir.


#38

Thanks. I figured that was likely the issue. Got the proper ID now.

Alright… now I just gotta figure out why Hubitat isn’t getting response from Meteobridge.


(Barry) #39

OK, try this:

  1. Log in to your MeteoBridge/WeatherBridge from your (local) web browser
  2. Edit this URL to use your *Bridge IP address, then enter the modified string in your browser (it is a single, long string):
http://ip_of_your_meteobridge_here/cgi-bin/template.cgi?template=%7B%22forecast%22:%7B%22text%22:%22[forecast-text:]%22,%22code%22:[forecast-rule]%7D,%22current%22:%7B%22date%22:%22[M]/[D]/[YY]%22,%22time%22:%22[H]:[mm]:[ss]%20[apm]%22,%22humidity%22:[th0hum-act=.2:null],%22indoorHum%22:[thb0hum-act=.2:null],%22temperature%22:[th0temp-act=F.2:null],%22dewpoint%22:[th0dew-act=F.2:null],%22heatIndex%22:[th0heatindex-act=F.2:null],%22windChill%22:[wind0chill-act=F.2:null],%22indoorTemp%22:[thb0temp-act=F.2:null],%22indoorDew%22:[thb0dew-act=F.2:null],%22highTemp%22:[th0temp-dmax=F.2:null],%22lowTemp%22:[th0temp-dmin=F.2:null],%22rainfall%22:[rain0total-daysum=in.3:null],%22rainLastHour%22:[rain0total-sum1h=in.3:null],%22evapotranspiration%22:[sol0evo-act=in.3:null],%22rainRate%22:[rain0rate-act=in.3:null],%22pressure%22:[thb0seapress-act=inHg.2:null],%22windGust%22:[wind0wind-max10=mph.2:null],%22windAvg%22:[wind0wind-act=mph.2:null],%22windDegrees%22:[wind0dir-act:null],%22windSpeed%22:[wind0wind-act=mph.2:null],%22windDirText%22:%22[wind0dir-act=endir:null]%22,%22pressureTrend%22:%22[thb0seapress-delta1=enbarotrend:N/A]%22,%22dayHours%22:%22[mbsystem-daylength:]%22,%22highHum%22:[th0hum-dmax=.2:null],%22lowHum%22:[th0hum-dmin=.2:null],%22sunrise%22:%22[mbsystem-sunrise:]%22,%22sunset%22:%22[mbsystem-sunset:]%22,%22dayMinutes%22:[mbsystem-daylength=mins.0:null],%22uvIndex%22:[uv0index-act:null],%22solarRadiation%22:[sol0rad-act:null],%22lunarAge%22:[mbsystem-lunarage:],%22lunarPercent%22:[mbsystem-lunarpercent:],%22lunarSegment%22:[mbsystem-lunarsegment:null],%22moonrise%22:%22[mbsystem-moonrise:]%22,%22moonset%22:%22[mbsystem-moonset:]%22,%22isDay%22:[mbsystem-isday=.0],%22isNight%22:[mbsystem-isnight=.0]%7D%7D#

You should get back a JSON report of the relevant data points…note that this operation can take a LONG time (7-10 seconds or so). You might want to add a check to see if the asynchttp() call is getting a timeout…


(Fernando Fuentes) #40

Thank you so much for this! I was not sure what I was going to do given that the weather tile 2.0 is just broken. I run a meteobridge and hub at home…

My weather site:

www.txweather.org and www.dashboard.txweather.org


#41

yup, got good data back, so that’s working.

it could indeed by the asynchttpget… but that only seems to come into play with purpleair and darksky. The call to the actual meteobridge doesn’t seem to use a get…