Giter VIP home page Giter VIP logo

Comments (13)

heythisisnate avatar heythisisnate commented on May 20, 2024 1

I was able to reproduce and confirm that this is a bug.
It's fixed here: d52b649

This will be released in 2.3.4 within a few days.

The bug affects only low-level trigger relays, and causes them to momentarily trigger when the device is restarted.

from konnected-security.

heythisisnate avatar heythisisnate commented on May 20, 2024 1

@TazUk Please confirm the trigger setting in the Konnected configuration matches the trigger on your relay. The easiest way to view the Konnected device's configuration is to download the Konnected app from the Apple / Google Play store, scan your network for the device, and then tap on "View device status". The trigger setting is shown in the actuators section of the status page.

0 = low
1 (or empty) = high

Make sure that your relay is configured accordingly. The relay modules that we sell have jumper to configure, but some relays may be fixed low or high.

Also -- what pin/zone do you have your relay connected to? Not all pins are compatible with high and low triggers.

from konnected-security.

qu3bec avatar qu3bec commented on May 20, 2024

This is the output from ESplorer if that helps -
Konnected firmware 2.3.0
NodeMCU 2.2.0.0 build 20190805 powered by Lua 5.1.4 on SDK 2.2.1(6ab97e9)
Heap: 41712 Initializing Konnected (2c3ae80b0c8d)
Heap: 40352 Application Version: 2.3.3
Heap: 40088 Connecting to Wifi..

Heap: 41584 Wifi connected with IP: 192.168.1.12 Gateway: 192.168.1.1
Heap: 41736 Current Date/Time: 2019-12-21 22:59:54 UTC
Heap: 41648 Booting Konnected application
Heap: 41560 UPnP: Listening for UPnP discovery
Heap: 41072 HTTP: Starting server at http://192.168.1.12:8724
Heap: 40896 Loaded: server
Heap: 39216 Initializing actuator pin: 6
Heap: 39192 Initializing actuator pin: 5
Heap: 39152 Polling DHT on pin 3 every 180000ms
Heap: 38920 DHT Status: -2
Heap: 38392 REST Endpoint:
Heap: 38360 Loaded: application
Heap: 38280 HTTP Call: 200 state 1 pin 6
Heap: 38216 Initialized actuator Pin: 6 Trigger: 0 Initial state: 1
Heap: 37776 HTTP Call: 200 state 1 pin 5
Heap: 37712 Initialized actuator Pin: 5 Trigger: 0 Initial state: 1
Heap: 35872 UPnP: Sent SSDP NOTIFY

from konnected-security.

heythisisnate avatar heythisisnate commented on May 20, 2024

What type of relay are you using? Make sure the the relay trigger is also set to L(ow)

from konnected-security.

txgi108 avatar txgi108 commented on May 20, 2024

What type of relay are you using? Make sure the the relay trigger is also set to L(ow)

I had the same issue, flashed the board to 2.3.3 and both relays activated after the reboot. Using a DIY Kit and a 5V-2 Channel relay with the trigger set to Low. Just to test it out, I cycled power to the board and the same thing happened on restart.

from konnected-security.

heythisisnate avatar heythisisnate commented on May 20, 2024

Make sure you have re-synced device settings after flashing

from konnected-security.

txgi108 avatar txgi108 commented on May 20, 2024

Yep, did that. The relays triggered after that...

Fortunately the Konnected Smart Home app still has 2.3.1. After I reverted, the issue went away.

I have the relays running my garage doors, so I can't have them opening every time the board reboots...

from konnected-security.

heythisisnate avatar heythisisnate commented on May 20, 2024

hmm, will try to reproduce this

from konnected-security.

txgi108 avatar txgi108 commented on May 20, 2024

Thanks!!!

from konnected-security.

TazUk avatar TazUk commented on May 20, 2024

I've also come across this today - the relay triggers every time I restart HomeAssistant or reboot the Konnected board.
I'm using the relay as a momentary switch to arm and disarm my alarm, meaning that this is a major issue in my case.

Unfortunately I'm completely unable to downgrade my firmware from 2.3.3 - I've tried 7 different known good USB cables, and 5 different sets of drivers.
Is there an alternative method available to force a downgrade?

from konnected-security.

TazUk avatar TazUk commented on May 20, 2024

After trying 2 Windows 10 laptops, 7 usb cables and 5 different driver sets I managed to revert back to 2.3.1 using
curl -X POST -H "Content-Type: application/json" -d '{"uri":"https://konnected-io.s3.us-east-2.amazonaws.com/esp8266-lfs/lfs-2.3.1.img"}' http://<konnectedip>:<port>/ota

Rolling back the Konnected software has completely resolved the issue.

from konnected-security.

TazUk avatar TazUk commented on May 20, 2024

Hi,

My relay continues to trigger when rebooting the Konnected v2 add-on board and when restarting HomeAssistant. For my configuration, this means that the alarm is armed / disarmed with any restart or reboot - quite a critical issue for me.
Happening both with release 2.3.4 and release 2.3.5, and HA version 107.x and (current) version 108.6

Not sure whether I should comment here or simply open a new issue, but as far as I can tell this has not resolved the problem which has been occurring with v2.3.3 and above releases.

from konnected-security.

TazUk avatar TazUk commented on May 20, 2024

@heythisisnate

Nate, you were spot on.

Relay was jumpered to High, but my configuration was set to low.

After some messing around, I've reconfigured to 'High' in HA and checked that it passed through to the board from the app and ran a few restarts and all now behaves (relay triggers when board is first powered but I would expect that).

Interestingly trying to jumper the relay as low prevented the board from being accessible at all (from app or HA), so clearly high is the way to go for my setup.

I'm using the "OUT" terminal to fire the relay and using zones 1 to 3 to read some programmable outputs from the Texecom alarm panel it's wired to.


Apologies for my mistake and thanks again for the assist. This has been driving me nuts for weeks so with hindsight was bound to be something stupid at my end.

from konnected-security.

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.