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 [email protected].
For more options, visit https://groups.google.com/d/optout.