Hi Dirk,
I had the same issue a couple of days ago.

In my case the website didn't connect to the MQTT broker when I typed the 
website URL as "domain.de". It only worked with "www.domain.de".
Could that be the issue in your case, too?

Manfred 


Am Sonntag, 11. August 2019 09:09:15 UTC+2 schrieb Dirk:
>
> Thank you for your help,
> mqtt send now the barometer in hPa
> on my phone (Android) the icon gets green
> but on pc is the same error
> my website is www.schieber-com.de/wetter
>
> Am Sonntag, 11. August 2019 02:55:48 UTC+2 schrieb Pat:
>>
>> Try this. If this doesn't work please provide a link to your website
>>
>> [[MQTT]]
>>         server_url = mqtt://broker.hivemq.com:1883/
>>         topic = wetter/ficht
>>         unit_system = METRIC
>>         binding = archive, loop
>>         aggregation = aggregate
>>         [[[inputs]]]
>>             [[[[barometer]]]]
>>                 name = barometer_hPa
>>                 units = hPa
>>
>>
>> On Saturday, August 10, 2019 at 3:30:12 PM UTC-4, Dirk wrote:
>>>
>>> Hi,
>>> The live update of my Website worked the whole day, but now it has 
>>> stopped working, i changed nothing.
>>> When i use Mqtt.fx on my laptop i see the Data, but on the Website i got 
>>> an error.
>>>
>>> Chrome Console say
>>>
>>> 10. August 2019, 21:16:22: mqtt Connection Lost: AMQJS0005E Internal 
>>> error. Error Message: Cannot read property 'barometer' of undefined, Stack 
>>> trace: TypeError: Cannot read property 'barometer' of undefined
>>>
>>> I tried to change the units in weewx.conf mqtt but that don't work
>>>
>>> here the weewx.conf
>>>
>>> [[MQTT]]
>>>         server_url = mqtt://broker.hivemq.com:1883/
>>>         topic = wetter/ficht
>>>         unit_system = METRIC
>>>         binding = archive, loop
>>>         aggregation = aggregate
>>>         [[[inputs]]]
>>>         [[[[barometer]]]]
>>>                 units = hPa
>>>
>>> anyone an idea
>>>
>>> Dirk 
>>>
>>

-- 
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/f84e0403-6350-4559-92c3-166076ab7988%40googlegroups.com.

Reply via email to