|
Post by mauriceatkinson on Oct 29, 2022 9:34:49 GMT -8
Is there any reason why the indoor temp/humid readings from the F016TH sensors are not transmitted over mqtt on my system. I am seeing skyweather state readings over mqtt but I have several indoor sensors but the state output only appears to cater for one indoor sensor.
I used to see both the state and F016TH topics being transferred over mqtt but now I only see state.
I am obviously missing something but for the life of me I cannot find the answer. Any ideas appreciated.
|
|
|
Post by SDL on Oct 29, 2022 12:41:31 GMT -8
|
|
|
Post by mauriceatkinson on Oct 29, 2022 23:41:38 GMT -8
I have rebooted, rebuilt my system from scratch using Sopwiths script but still the same issue. I use the mqtt explorer and I can see only the state topic being transmitted from skyweather2.
|
|
|
Post by SDL on Nov 4, 2022 8:35:02 GMT -8
Are you receiving indoor temperature readings from the F016TH?
BP
|
|
|
Post by mauriceatkinson on Nov 4, 2022 13:15:02 GMT -8
no, I only receive data from the State mqtt topic and nothing from F016TH
|
|
|
Post by SDL on Nov 4, 2022 14:05:41 GMT -8
Take a look at the debugging output from SkyWeather2.
can you run sudo python3 testWirelessSensors.py and look for the output from the F016TH?
BP
|
|
|
Post by mauriceatkinson on Nov 4, 2022 15:08:50 GMT -8
Running sudo python3 testWirelessSensors.py I see the indoor sensor as shown below:
WeatherSense Indoor T/H F016TH Found {"time" : "2022-11-04 23:04:04", "model" : "SwitchDoc Labs F016TH Thermo-Hygrometer", "device" : 120, "modelnumber" : 5, "channel" : 2, "battery" : "OK", "temperature_F" : 53.100, "humidity" : 66, "mic" : "CRC", "mod" : "ASK", "freq" : 433.994, "rssi" : -0.111, "snr" : 16.543, "noise" : -16.654}
WeatherSense Indoor T/H F016TH Found {"time" : "2022-11-04 23:04:08", "model" : "SwitchDoc Labs TB", "len" : 44, "messageid" : 2033, "deviceid" : 1, "protocolversion" : 1, "softwareversion" : 1, "weathersenseprotocol" : 16, "irqsource" : 0, "previousinterruptresult" : 0, "lightninglastdistance" : 6, "sparebyte" : 0, "lightningcount" : 8, "interruptcount" : 529, "loadvoltage" : 4.992, "batteryvoltage" : 3.952, "batterycurrent" : 45.200, "loadcurrent" : 21.900, "solarpanelvoltage" : 0.040, "solarpanelcurrent" : -0.000, "auxa" : 3, "mic" : "CRC", "mod" : "ASK", "freq" : 433.989, "rssi" : -0.100, "snr" : 16.666, "noise" : -16.766}
I am current running Skyweather2 with the output to the screen and the output shows the indoor sensor is found. But as shown in the output below is just see the Tick message every 15 mins. My mqtt broker shows no data being received from F016TH
----------------- Jobstore default: creating new MQTT instance ###### patTheDog (trigger: interval[0:00:20], next run at: 2022-11-04 23:05:07 GMT) connecting to broker readWiredSensors (trigger: interval[0:00:30], next run at: 2022-11-04 23:05:17 GMT) tick (trigger: interval[0:01:00], next run at: 2022-11-04 23:05:47 GMT) publish (trigger: interval[0:15:00], next run at: 2022-11-04 23:19:47 GMT) barometricTrend (trigger: interval[0:15:00], next run at: 2022-11-04 23:19:47 GMT) writeWeatherRecord (trigger: interval[0:15:00], next run at: 2022-11-04 23:19:47 GMT) writeITWeatherRecord (trigger: interval[0:15:00], next run at: 2022-11-04 23:19:47 GMT) WSread_AQI (trigger: interval[0:20:00], next run at: 2022-11-04 23:24:47 GMT) cleanPictures (trigger: cron[day='*', hour='3', minute='4'], next run at: 2022-11-05 03:04:00 GMT) cleanTimeLapses (trigger: cron[day='*', hour='3', minute='10'], next run at: 2022-11-05 03:10:00 GMT) buildTimeLapse (trigger: cron[day='*', hour='5', minute='30'], next run at: 2022-11-05 05:30:00 GMT) ----------------- starting 433MHz scanning ###### Indoor Weather Sensors Found Main Weather Sensors Found Tick! The time is: 2022-11-04 23:05:47.082887 Tick! The time is: 2022-11-04 23:06:47.081962
|
|
Sopwith
Junior Member
"If it works out of the box - what fun is that?"
Posts: 69
Raspberry Pi: Yes
Other Device: Pico Pi
|
Post by Sopwith on Nov 4, 2022 18:26:17 GMT -8
Have you considered changing the channel of the indoor sensor to see if that makes a difference? Just a thought.
Sopwith
|
|
|
Post by mauriceatkinson on Nov 5, 2022 1:39:07 GMT -8
I have changed the two indoor temp sensors to be on different channels but it makes no difference. Skyweather is sending only the state topic to my mqtt broker as per attached pic Attachments:
|
|
|
Post by mauriceatkinson on Nov 12, 2022 4:37:36 GMT -8
I reinstalled my skyweather2 with the supplied SD card and ran through the installation as per your github page and I still only see skyweather2/state topic being sent via mqtt. Still no F016TH mqtt data being transmitted.
|
|
|
Post by mauriceatkinson on Nov 13, 2022 1:22:37 GMT -8
This is getting bizarre as I reinserted the sd card with the Sopwith build on it and both the indoor and outdoor sensor data started to show up on the terminal screen...first time since the problem was first reported. However still no FT016H sensor data being sent via MQTT
|
|
|
Post by SDL on Nov 13, 2022 10:28:54 GMT -8
Please post the startup of SkyWeather2 on the NON working SD Card.
BP
|
|
|
Post by mauriceatkinson on Nov 14, 2022 11:44:50 GMT -8
pi@pi:~/SDL_Pi_SkyWeather2 $ sudo python3 SkyWeather2.py
./SkyWeather2.JSON File exists
using updateWebConfig
##########################################################
SkyWeather2 Weather Station Version 027.6 - SwitchDoc Labs
Program Started at:2022-11-14 19:40:40
##########################################################
b''
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
----------------------
BMP280: Present
SkyCam: Not Present
OLED: Not Present
SunAirPlus/SunControl: Not Present
SolarMAX: Not Present
DustSensor: Not Present
UseBlynk: Disabled
UseWSLIGHTNING: Enabled
UseWSAQI: Enabled
UseWSSKYCAM: Disabled
UseMySQL: Disabled
UseMQTT: Enabled
Check WLAN: Not Present
WeatherUnderground: Not Present
UseWeatherStem: Not Present
----------------------
-----------------
Scheduled Jobs
-----------------
######
creating new MQTT instance
Jobstore default:
patTheDog (trigger: interval[0:00:20], next run at: 2022-11-14 19:41:06 GMT)
readWiredSensors (trigger: interval[0:00:30], next run at: 2022-11-14 19:41:16 GMT)
tick (trigger: interval[0:01:00], next run at: 2022-11-14 19:41:46 GMT)
publish (trigger: interval[0:01:00], next run at: 2022-11-14 19:41:46 GMT)
barometricTrend (trigger: interval[0:15:00], next run at: 2022-11-14 19:55:46 GMT)
writeWeatherRecord (trigger: interval[0:15:00], next run at: 2022-11-14 19:55:46 GMT)
connecting to broker
writeITWeatherRecord (trigger: interval[0:15:00], next run at: 2022-11-14 19:55:46 GMT)
WSread_AQI (trigger: interval[0:20:00], next run at: 2022-11-14 20:00:46 GMT)
cleanPictures (trigger: cron[day='*', hour='3', minute='4'], next run at: 2022-11-15 03:04:00 GMT)
cleanTimeLapses (trigger: cron[day='*', hour='3', minute='10'], next run at: 2022-11-15 03:10:00 GMT)
buildTimeLapse (trigger: cron[day='*', hour='5', minute='30'], next run at: 2022-11-15 05:30:00 GMT)
-----------------
starting 433MHz scanning
######
Main Weather Sensors Found
Indoor Weather Sensors Found
Tick! The time is: 2022-11-14 19:41:46.172076
Tick! The time is: 2022-11-14 19:42:46.170893
Tick! The time is: 2022-11-14 19:43:46.170874
|
|
|
Post by SDL on Nov 22, 2022 8:37:08 GMT -8
Indoor Weather Sensors Found
This means that the system is finding the indoor temperature sensors. With the NON working image, are you getting any MQTT packets?
If so, which ones?
BP
|
|
|
Post by mauriceatkinson on Nov 23, 2022 10:33:53 GMT -8
This is the issue, the indoor sensors are found but no mqtt topics other than "state" are transmitted. Therefore I do not see any mqtt topics for the FT016H
I used to see mqtt state topic and also the FT016H topic being sent through separately to the external mqtt broker. Now I just see the state topic.
|
|