Reading the manual for the LHT65N/S (closest I could get as I could not find one for the exact model I have) I found at about sending commands via downlink to set the interval
No first chatgpt helped me by converting the at command to hex but then I found other referecens that a hex command starting with A8 would change the frequency
I have sent ll these commands in the messaging section all on port 85 and i fact I tried 5 as well and chatgpt analyses the live data feed back and says it is receiving the commands but if nothing is happening that perhaps the firmware does not allow this
This was a brand new device I took out the box so it should be update I would have thought
So what i need to know is can this device have the interval set by a hex message va messaging and if so what would that be to set it to say 1, 5, 10 and 20 minutes.
I have used port 85
After i can change the behavior I will go back to doing it via the api - but for the moment the messaging system will be fine for me
I’m 110% sure that 100% of the forum regulars won’t have the manual to hand. Perhaps share what you are looking at by way of a link?
There’s no problem interpreting a manual for someone, but it helps if we are looking at the same one!
There is NO WAY that ChatGPT can know it is receiving the commands unless the commands worked and you gave it several uplinks to evaluate, but it would be easier to just use WetWare to do that maths.
Sending every 1 minutes would be in breach of the Fair Use Policy and potentially the law. Sending every 5 minutes may be in breach of FUP. What is it you are measuring that needs such frequent data and at what SF?
Sometimes all it takes is someone else making a suggestion. When you asked for the documentation I was referring to I looked at it again and then saw it did say exactly how to do it. As soon as I sent the correct messages it works
Just in case anyone else was looking for the solution.
Send code for interval is 01 hex followed by three bits for time in seconds
So to set interval to twenty minutes it would be convert 20 minutes to seconds → 1200 seconds
1200 to hex is 04B0 so pad with 00 to get 0004B0 and start with the command 01 to get the full code of 010004B0 to set the interval to 20 minutes
And lastly you addressed my need for measuring in 1 minute intervals and that that would violate fair use. I under stand it is 1% airtime so what is the lowest interval that woudl not violate the fair usage.
I just wanted to set it to 1 minute intervals so I could do two things. Take my sensor walkbout while recording a GPS track and then match up all the data so I could see how far my sensor would work from its gateway in my office, and also to see what other gateways might have picked up my sensor in the area. I would just walk about for about twenty minutes - so sending data every minute would really be nice. Alternatively I can measure at a longer more fair and acceptable time - or I guess just use a manual uplink to send data from different points and see it it makes it.
I only have one sensor a tmp and humidty as specified in the subject
Finally to complete my reply and mark this question as solved here is the link to the Dragino Wiki explain the correct codes
Looking forward to learning and implementing some interesting solutions. Also will be looking through my logs to see if any other sensors are making it to my gateway!
1% airtime is the law. The FUP is separate and relates to use of the (very expensive) servers provided to us for free by TTI that is for collective use, so more a moral / ethical law.
Without knowing what the size of the payload and SF is, hard to say. Let’s assume you aren’t breaching LoRa Alliance guidelines, so we’ll say SF10 with a payload of 11 bytes, so as you will be aware from the Learn section, that you get 30 seconds airtime a day, so that’s 3.4 per hour.
Std reply: “I want to break the speed limit officer to check my speedometer can read over the legal limits - just for 20 minutes, its all good, no one will be impacted - I promise to do that only once, I’ll never be tempted to do it again. If any little old ladies panic alarm is blocked whilst I’m doing this, I’m sure someone will sort it out once I’m done”
Bingo! That’s exactly the way to do it. Or if you setup for TTN Mapper which standardises on SF7 for uniform results, once every three minutes. Do a few 20 minute walks and over a few days you’ll get a good picture.
Or look at the local topology, think link budget and account for the fresnel zone.
Look via the console - so much easier to read. The UNKNOWN gateway logs will show any valid LW uplinks heard for any provider.