Page 2 of 2

Re: Solar Sensor

Posted: Fri 05 May 2023 11:01 am
by watsonm
I use pushover

Code: Select all

https://pushover.net/
to send a message from my linux box to my mobile phone. if you are detecting the spikes in a python script this is easy to setup.

Code: Select all

def msg_phone(message):
    conn = http.client.HTTPSConnection("api.pushover.net:443")
    conn.request("POST", "/1/messages.json",
      urllib.parse.urlencode({
     "token": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
     "user": "xxxxxxxxxxxxxxxxxxxxxxxx",
     "message": message
      }), { "Content-type": "application/x-www-form-urlencoded" })
    conn.getresponse()
    log_err(message)

Re: Solar Sensor

Posted: Fri 05 May 2023 3:13 pm
by Ulric2
Thank you! Detecting the spikes in a Python script is EXACTLY what I'm doing :-)

Pushover looks brilliant for this and has saved me a lot of time.

Copy >> Paste. Thank you again!

Re: Solar Sensor

Posted: Sat 20 May 2023 2:14 pm
by Ulric2
An update on the radio interference. I have now installed rtl_433 with an RTL-SDR dongle. This picks up the transmission from the Fine Offset sensors perfectly and so, I'm hoping it will also pick up whatever spurious signals are causing my problem.

I've attempted to configure it in the Alarms section of CumulusMX so that whenever loss of data contact, sensor contact, data spikes or occur, it should start up rtl_433 and log for one hour. Has anyone else attempted to do this?

Re: Solar Sensor

Posted: Tue 23 May 2023 9:20 am
by watsonm
RTL_433 needs to be configured for what data it is receiving. For example if the lightning receiver is running Protocol 190 must be set , if Soil moisture then protocol 142, for the Fine Offset wh1080 weather station proocol 32. These protocols are the defined data streams for these devices. Not sure what "they" would transmit to stop legitimate transmitter locking cars but interference has no defined data stream so I just wonder if you will see anything.
Maybe you need to run SDR# to visually monitor the data being sent. It has a "waterfall " display where you can see the bursts from your weather devices. Once you are familiar with a normal display you may be able to notice when interference is active.

Good Luck...

Re: Solar Sensor

Posted: Wed 24 May 2023 6:11 am
by Ulric2
Yes, I've been right through the config file for rtl_433 and made settings which seem appropriate, including truncating the list of protocols to only those which either suffer interference or, at a guess, might do. At the moment, I don't think I've got the set up quite right but it will be a matter of experimentation, I suppose.