Re: [weewx-user] Re: Belchertown MQTT not working

2023-05-06 Thread Kevin Crivelli
So I actually did have it working with those suggestions at one time so I might go ahead and uninstall and start from scratch with mosquitto. I'll look closer at everything you sent when I have a moment to look at it closer. Thanks again On Sat, May 6, 2023, 4:41 PM vince wrote: > doh - I of

[weewx-user] Re: Belchertown MQTT not working

2023-05-06 Thread vince
doh - I of course got those sub/pub commands backward. You use the -m message for publishing. Sorry for the confusion. - subscribe in one window => mosquitto_sub -h x.x.x.x -t junk/testing -u mosquittoUserHere -P mosquittoPassHere - publish a test in another => mosquitto_pub -h

[weewx-user] Re: Belchertown MQTT not working

2023-05-06 Thread vince
It's not hanging. It is not hearing anything. Hit control-C to stop listening with mosquitto_sub. On mine I see the loop messages every couple seconds basically immediately. I hit control-C after the first loop packet was displayed. $ mosquitto_sub -d -t simulator/# -h 192.168.1.232 Client

[weewx-user] Re: Belchertown MQTT not working

2023-05-06 Thread Kevin Crivelli
here's what I get when I run with -d debug [image: mosquitto out.JPG] On Saturday, May 6, 2023 at 2:28:48 PM UTC-4 Kevin Crivelli wrote: > I'm using my ip address as "myaaddress" I've also tried localhost > > > On Saturday, May 6, 2023 at 2:26:12 PM UTC-4 Kevin Crivelli wrote: > >> so I tried

[weewx-user] Re: Belchertown MQTT not working

2023-05-06 Thread Kevin Crivelli
I'm using my ip address as "myaaddress" I've also tried localhost On Saturday, May 6, 2023 at 2:26:12 PM UTC-4 Kevin Crivelli wrote: > so I tried turning off the user/pass business and still no luck however I > have noticed something interesting. > > When I go through the mosquitto_sub -t

[weewx-user] Re: Belchertown MQTT not working

2023-05-06 Thread Kevin Crivelli
so I tried turning off the user/pass business and still no luck however I have noticed something interesting. When I go through the mosquitto_sub -t mytopic -h myaddress -u myuser -P mypass it just hangs and never finishes wonder what could be causing that On Saturday, May 6, 2023 at

[weewx-user] Re: Belchertown MQTT not working

2023-05-06 Thread vince
On Saturday, May 6, 2023 at 10:37:54 AM UTC-7 Kevin Crivelli wrote: yeah man, no joy I'd suggest turning off user/pass in MQTT at least temporarily until you get the websockets working, then reenable user/pass. Do one thing at a time. I spun up a clean pi without mosquitto user/pass and it

[weewx-user] Re: Belchertown MQTT not working

2023-05-06 Thread Kevin Crivelli
yeah man, no joy On Saturday, May 6, 2023 at 1:30:13 PM UTC-4 Kevin Crivelli wrote: > so like the same way they are shown in the skin.conf file? > On Saturday, May 6, 2023 at 12:22:29 PM UTC-4 vince wrote: > >> Try adding the mqtt username and password in [[[Extras]]] in weewx.conf >> and

[weewx-user] Re: Belchertown MQTT not working

2023-05-06 Thread Kevin Crivelli
so like the same way they are shown in the skin.conf file? On Saturday, May 6, 2023 at 12:22:29 PM UTC-4 vince wrote: > Try adding the mqtt username and password in [[[Extras]]] in weewx.conf > and restart weewx and see if that helps. -- You received this message because you are subscribed to

[weewx-user] Re: Belchertown MQTT not working

2023-05-06 Thread vince
Try adding the mqtt username and password in [[[Extras]]] in weewx.conf and restart weewx and see if that helps. -- 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

Re: [weewx-user] Re: sudo wee_database --rebuild-daily does not work.

2023-05-06 Thread geni08...@gmail.com
OK, the correct syntax is: pi@Wetter-Raspi4:~ $ *sudo wee_database --rebuild-daily --from=2023-04-01 --to=2023-05-02* Using configuration file /etc/weewx/weewx.conf Using database binding 'wx_binding', which is bound to database 'archive_mysql' Daily summaries from 2023-04-01 through 2023-05-02

[weewx-user] Belchertown MQTT not working

2023-05-06 Thread Kevin Crivelli
locally I get Connected. Waiting for data. remotely I get Connecting to weather station real time data I followed https://obrienlabs.net/how-to-setup-your-own-mqtt-broker/ to a T but didn't do the SSL portion my mosquitto myconfig.conf file reads persistence false # mqtt listener

Re: [weewx-user] Re: sudo wee_database --rebuild-daily does not work.

2023-05-06 Thread gjr80
Did you run wee_database --rebuild_daily as suggested by Tom? When running wee_database --rebuild-daily you can use the optional --date by itself to specify a single day, you can use --to by itself to specify a date range from the first record in the database to a give date, you can use --from