Closed Richard-ha closed 2 years ago
@Richard-ha not sure what is going on in your situation, you are reporting multiple issues at once, some related to hardware (voltage drop), not reported msgid's (eg. returnwater temperature) or unprocessed messages.
It seems when you connect using the serieal connections (using USB I assume) then you seem to get it working and with OTmonitor you can see the msgid's and remote override works
You report the API calls are working correctly. But the MQTT is not working for you.
To troubleshoot this over slowchat is hard, would it be possible to join the discord. There are more people there that can and will help to figure out what is going on.
Also it helps to share a logfile on what you see.
Actually, I have seen your remark, but I don't see message loss with the firmware in normal conditions, I wonder what you see as number of messages from OpenTherm itself. Do you have an idea on how many messages you see flowing on port 25238?
Hi Robert, Thank you for the quick response. I guess there could also something wrong with the (long >20meters) and maybe bad cable between the boiler and thermostat. To find out I'm going to mount the thermostat in close range from the boiler and perform some new tests.
Could you please forward me the link to the discord server in case it didn't work. Tnx in advance
The discord can be found here: https://discord.gg/zjW3ju7vGQ
Sorry cancelled my subscription from discord. I don't giveaway my phone number to subscribe. Took al verification steps, that must be enough. I will keep communicate via github, sorry for that.
Verzonden via Yahoo Mail op Android
Op wo, dec. 8, 2021 om 18:58 schreef Robert van den @.***>:
The discord can be found here: https://discord.gg/zjW3ju7vGQ
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Thats fine with me :)
I actually allow you to join the discord without phone verification, so it must be a discord thing that they ask for your phone number. I only require members to be online for more than 5 minutes on discord, to prevent bots from spamming us.
Don't know if it helps, but I suffered constant gateway resets in the beginning when the OTGW was powered through a 3m USB cable. I replaced it for a 30cm cable and since then all reset problems were gone.
@binsentsu thats a great observation. You need to make sure that the OTGW USB is fed with 5V. If you use long cables and a weak 5V adaptor it will start to reset. I had that myself too and now use a 30cm cable and a 2A adaptor (overkill but it works).
@tjfsteele any additions on the power situation on V2.3?
@binsentsu , thanks that did the trick.
New (thicker, better quality) USB kabel and 2A Samsung fast USB charger solved all the problems. The original one delivered from nodoshop is 1A. Mqtt running perfect, override temperature works and no more gateway resets or missing ID's Thank you all for the great tips.
Closing the ticket.
Shouldn't need anything like 2A but a decent voltage at the board is a good idea. Sounds like the manual could be updated.
Tim
On Thu, 9 Dec 2021, 10:43 Robert van den Breemen, @.***> wrote:
Closing the ticket.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rvdbreemen/OTGW-firmware/issues/83#issuecomment-989732212, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN3CV4DUETDMMMX2FL7R3LDUQCB6PANCNFSM5JTSPLXQ .
I agree Tim, I think indeed it needs a decent stable power supply, 1A should be more than enough. Although if cheap components are used in the delivered charger the riple at higher powerconsumption could be the case. I didn't measure the voltage on the board. I assume the original Samsung USB charger is capabele delivering stable 5 Volt. But it is solved, that's more important.Richard
Op do, dec. 9, 2021 om 12:10 schreef @.***>:
Shouldn't need anything like 2A but a decent voltage at the board is a good idea. Sounds like the manual could be updated.
Tim
On Thu, 9 Dec 2021, 10:43 Robert van den Breemen, @.***> wrote:
Closing the ticket.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rvdbreemen/OTGW-firmware/issues/83#issuecomment-989732212, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN3CV4DUETDMMMX2FL7R3LDUQCB6PANCNFSM5JTSPLXQ .
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
UPDATE: SOLVED! Issue solved with 2A USB charger and high quality USB A-B cable
After every reboot it works once or twice and then stopped. PS, via direct serial connection and monitoring on startup in OTmonitor there are a lot of error 3 faults. But after 2 minutes or so they dissappear and all works great. All ID'S are present and remote override works.
Equipment bought from nodoshop: Nodoshop OTGW + ESP (latest version)
All flashed with latest firmware. It works fine, but lots of msgIDs are missing. FYI, Returnwater temperature and remote setpoint override doesn't work Trying to find the problem with OTmonitor. Log tab: There is a constant (every 5 to 10sec) gateway reset going on while reading the OT messages
If checking for error code in the OTGW: there is a powerdrop below 4.35 volt Disabling Mqtt solves the problem. It looks like the huge amount off Mqtt information send (high interval rate) overwhelms the ESP. API calls are now working correct, all data is received, properly.
Option in settings: set Mqtt interval