Coder Social home page Coder Social logo

Comments (7)

EdwinD007 avatar EdwinD007 commented on July 22, 2024 1

from otgw-firmware.

rvdbreemen avatar rvdbreemen commented on July 22, 2024

Hi Edwin,
Well, you are the first to report an issue like this.

Did you try flashing a fresh copy of v0.8.3 bin files to your nodemcu? As you seem to have gone back to R147.

Also do you have some debug log information? You can capture that with a telnet to port 23.

If you enter a reboot loop, what do the two blue leds do? Do they blink, does it get stuck?

There is a watchdog reset that actually could cause an external reset.

If you join the discord we can chat in real time.

Do you have a link to tweakers about this issue?

Thank
Robert

from otgw-firmware.

EdwinD007 avatar EdwinD007 commented on July 22, 2024

Hi Robert,

Thanks for responding that quick and your help.
Yes flashed the 2 files of v083. Also tried erase first, and then a fw flash.
Good point about the telnet. I got some information;


[00:00:11][ 16120| 15144] checklittlef( 591): Check githash = [2fa1f1f]
[00:00:11][ 15080| 13848] initOutputs ( 18): inside initOutputsO1...
[00:00:11][ 15080| 13848] initWatchDog( 172): Setup Watchdog
[00:00:11][ 15080| 13848] initWatchDog( 173): INIT : I2C
[00:00:12][ 16424| 15144] initWatchDog( 191): INIT : Reset by WD!
[00:00:12][ 15080| 13848] processOTGW (1111): Not processed, received from OTGW => [Thermostat disconnected] [23]


When powering up the otgw board with nodemcu mounted,
Both blue led's are on at startup
After 8 seconds nodemcu led (GPIO16) stays on and the led near the antenna(GPIO2) goes off,
From then it goes in a 12 sec cycle: nodemculed goes off for less than a second and directly after that the led near the antenna goes on for less than a second.

When nodemcu is connected to usb (dismounted from board)
Both led on at startup
After 12 sec the led near the antenna goes off
14 sec later the other led goes also off.
8 seconds later the led near the antenna goes in 1 sec flash cycle (heartbeat?)

Link from someone with simular probs (WackoH)
https://gathering.tweakers.net/forum/list_messages/1653967/21 (17th message from top)
Thanks for the effort!
Edwin

from otgw-firmware.

rvdbreemen avatar rvdbreemen commented on July 22, 2024

Hi Edwin,

Thank you for your patience... Let's keep debugging then. So please read the explain on the LEDs,

As far as I can tell you have a correct behaviour when NOT connected to the OTGW hardware. Then it is disconnected it ends up blinking the LED1 (heartbeat/watchdog) with a cycle of about 1s. That is normal behaviour, and the LED2 should stay off as you have no incoming data at all.

It also means you are not triggering any OTGW related process other than the watchdog keeping it stable.

Now the hardware connected situation seems to be wrong, it seems to reset when connected right away. Also the log part you send, tells me it's sending a message "Thermostat disconnected". So the OTGW PIC, does not see a thermostat connected ( it even sends the corresponding message ). But it does not explain the reset at that point, as I do not reset for not having something connected.

So what to do next:

  1. Did you actually have the thermostat connected correctly, and the boiler? Sometime a lose wire is a valid issue.
  2. Capture some logs in disconnected mode (without hardware) and capture a full log (best you can) from a connected situation.

And share your finding here. Or, in the discord server online: https://discord.gg/TcmTg6BT

from otgw-firmware.

rvdbreemen avatar rvdbreemen commented on July 22, 2024

@EdwinD007 one more request: please link the direct message on the tweakers forum. As the place you pointed me back at was from 2014 or so, that cannot be related to my firmware, as it only exists since the pandemic ;-)

from otgw-firmware.

rvdbreemen avatar rvdbreemen commented on July 22, 2024

@EdwinD007 And any progress?

from otgw-firmware.

rvdbreemen avatar rvdbreemen commented on July 22, 2024

@EdwinD007 Any progress? I will close this, if you need more support, then just reopen the issue and we will continue debugging.

from otgw-firmware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.