Open michaelotto opened 1 week ago
Maybe that gives you a first idea, first set this 2 hocks in the System for the logging and then lock for the logging in the Web Konsole. You see there the transmit time, the recive time and the kompleet loop time. Then take your intervalltime and ........ I hope that will help you.
Thanks for looking into it! Most of this time it looks like it's after TX and waiting for/processing RX. Not sure one can see how much time was really spent doing "on air time".
If it really were around 210 ms, then the maximum allowed polling interval would be around 20-25 seconds.
These are idle times how long the DTU is waiting for an incomming RX or for the conplete loop. The real TX is a way shorter.
I have a question regarding the general protocol: How long does sending a request to the inverter take (in milliseconds)? For how long does the inverter send back its information (in milliseconds)?
I'm a asking because strictly, it isn't legally allowed to send more than 1% of an hour in the 868 MHz band (called "duty cycle").
So for example, if I set the interval of how often the inverter should be updated to 5 seconds, then the combined sending and receiving of data must not take longer than 50 ms. (3600 seconds * 1% = 36 seconds of "sending time" per hour / 720 updates per hour = 50 ms). It may be so that each side of this is allowed 1% though, not sure about this.