Hi Ørjan.

Did you get your config to work? If yes, where was the problem?


W dniu niedziela, 2 września 2018 23:41:39 UTC+2 użytkownik Ørjan Hofstad 
napisał:
>
> Here is what I have tried. But cant get it to work. I was just testing 
> over mqtt client. Maybe Im sending the data wrong or something.
>
>
> This is the setting I have set in /etc/weewx/weewx.conf
>
> loop_on_init=true
> station_type = wxMesh
>
> [wxMesh]
> host = 127.0.0.1
> client = Arduino-station
> username = username
> password = password
> topic = weather
> driver = user.wxMesh
> poll_interval = 1
>
> [[label_map]]
> TIME = dateTime
> HUMT = outTemp
> RHUM = outHumidity
> INTE = inTemp
> INHU = inHumidity
> BARP = barometer
> IRRA = radiation
> PHOV = supplyVoltage
> BATV = consBatteryVoltage
> AMBT = extraTemp1
> SYST = extraTemp2
>
> This is the setting I have set in /usr/share/weewx/user/wxMesh.py
>
> where to find the data file
>   self.host = stn_dict.get('host', '127.0.0.1')
>   self.topic = stn_dict.get('topic', 'weather')
>   self.username = stn_dict.get('username', 'username')
>   self.password = stn_dict.get('password', 'password')
>   self.client_id = stn_dict.get('client', 'Arduino-station') # MQTT client 
> id - adjust $
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/93819061-9f7e-4432-8549-c2f06db92402o%40googlegroups.com.

Reply via email to