×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Weather radio don't want connect

  • Posts: 250
  • Thank you received: 3
Hello
I am coming back to you because I still have my problem.
Indeed, after a while my weather forecast freezes and I have no more data.
I can't find the tmp file that should give me the cause of the problem.
What do you need to see where the problem comes from that I can't get the tmp file?
Thanks for your help guys
Last edit: 3 years 6 days ago by Porchet.
3 years 6 days ago #69082

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
That works with the return(true");
⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮{"version":"1.12"}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":2}
{}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.02999,"T obj":17.95001}}
{"MLX90614":{"init":true,"T amb":19.02999,"T obj":17.95001}}
{"MLX90614":{"init":true,"T amb":19.02999,"T obj":17.95001}}
 
3 years 4 days ago #69170

Please Log in or Create an account to join the conversation.

  • Posts: 1185
  • Thank you received: 370
3 years 4 days ago #69174

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
yes it does, thanks for the help. I will carry on connecting the other sensors and debugging if necessary ;)
3 years 4 days ago #69189

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
BME280 connected on the I2C port, so far so good.

{
"BME280": {
"init": true,
"Temp": 23.48,
"Pres": 1019.813,
"Hum": 40.57813
},
"MLX90614": {
"init": true,
"T amb": 22.42999,
"T obj": 22.95001
}
}
3 years 4 days ago #69192

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
and finally the TSL2591

{
"BME280": {
"init": true,
"Temp": 22.17,
"Pres": 1019.764,
"Hum": 42.69531
},
"MLX90614": {
"init": true,
"T amb": 21.67001,
"T obj": 22.11001
},
"TSL2591": {
"init": true,
"Lux": 35.93759,
"Visible": 10489,
"IR": 1596,
"Gain": 32,
"Timing": 1
}
}
3 years 4 days ago #69193

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
ok... not getting the data on the webpage (works fine in Ekos).

root@heidenrod-obs:/usr/share/weatherradio/html/data# more RTdata_lastupdate.json
{
"CloudCover":null,
"DewPoint":null,
"Humidity":null,
"Pressure":null,
"RainVolume":null,
"RaindropFrequency":null,
"SQM":null,
"SkyTemperature":null,
"Temperature":null,
"WindDirection":null,
"WindGust":null,
"WindSpeed":null,
"timestamp":1616625127000
}
root@heidenrod-obs:/usr/share/weatherradio/html/data#
3 years 4 days ago #69195

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
root@heidenrod-obs:/usr/share/weatherradio# ./bin/wr_rrd_update.py -v
Updating data from "Weather Radio"@localhost:7624
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Setting serial port to /dev/ttyUSB0
Waiting for connection...
got message by host :localhost :
INDImessage Weather Radio [INFO] Failed to receive full response: Timeout error. (Return code: -4). Retrying...
got message by host :localhost :
INDImessage Weather Radio [INFO] Failed to receive full response: Timeout error. (Return code: -4). Retrying...
got message by host :localhost :
INDImessage Weather Radio [ERROR] Parsing error breaking bad at 0
root@heidenrod-obs:/usr/share/weatherradio#
Last edit: 3 years 4 days ago by Gonzothegreat.
3 years 4 days ago #69199

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
Doesn't seem to work in Ekos now :(
 
3 years 3 days ago #69210
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
For some unknown reasons it started to work...

root@heidenrod-obs:/usr/share/weatherradio# ./bin/wr_rrd_update.py -v
Updating data from "Weather Radio"@localhost:7624
Connection established to "Weather Radio"@localhost:7624
Reading weather sensor values...
Reading weather sensor values... (succeeded)
Weather parameters read from "Weather Radio"@localhost:7624
root@heidenrod-obs:/usr/share/weatherradio#


however the weatherradio.html isn't showing any data at all
3 years 3 days ago #69217

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
An interesting observation:
it works with -v but not without

root@heidenrod-obs:/usr/share/weatherradio# /usr/share/weatherradio/bin/wr_rrd_update.py -v
Updating data from "Weather Radio"@localhost:7624
Connection established to "Weather Radio"@localhost:7624
Reading weather sensor values...
Reading weather sensor values... (succeeded)
Weather parameters read from "Weather Radio"@localhost:7624
root@heidenrod-obs:/usr/share/weatherradio#

root@heidenrod-obs:/usr/share/weatherradio# /usr/share/weatherradio/bin/wr_rrd_update.py
Establishing connection FAILED to "Weather Radio"@localhost:7624
root@heidenrod-obs:/usr/share/weatherradio#
3 years 3 days ago #69218

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
I am wondering why the DHT is being pulled while it's not configured on the board.

# rrdtool fetch sensors.rrd AVERAGE -s -1d -r 1h
BME280_Temp BME280_Pres BME280_Hum DHT_Temp DHT_Hum MLX90614_Tamb MLX90614_Tobj TSL2591_Lux
3 years 3 days ago #69246

Please Log in or Create an account to join the conversation.

Time to create page: 0.736 seconds