Git Product home page Git Product logo

node-red-eq3's Introduction

node-red-eq3

node-red flow(s) for interfacing with an eqiva eQ-3 radiator thermostat over BLE.

The master version of these flows are maintained in the janvda/node-red-eq-3 github repository and from time to time copied to the node-red-eq3/ folder of the janvda/balena-node-red-eq3 github respository.

Prerequisites

The following environment variables must be set:

  • EQ3_BTADDR : is the Bluetooth Address of the eQ-3 device. E.g. 00:1a:22:0f:07:67. Take care that capitals are not allowed : so 1A should be specified as 1a in the EQ3_BTADDR.

node-red-eq3's People

Contributors

janvda avatar

Watchers

James Cloos avatar  avatar

node-red-eq3's Issues

[info] [debug:Error eq3: empty payload] empty payload

I regularly see the warning [info] [debug:Error eq3: empty payload] empty payload in my node-red log file.

Note that the raspberry pi was in another room (our bedroom) than the eQ3 device (small bur...) but still on the same floor.

Here below an extract of the node-red logs:

24.03.19 22:29:20 (+0100)  nodered  (node:40) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error: Peripheral already connected
24.03.19 22:39:23 (+0100)  nodered  24 Mar 21:39:23 - [info] [debug:Error eq3: empty payload] empty payload
24.03.19 22:49:23 (+0100)  nodered  24 Mar 21:49:23 - [info] [debug:Error eq3: empty payload] empty payload
24.03.19 23:14:20 (+0100)  nodered  (node:40) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): Error: Peripheral already connected
24.03.19 23:39:20 (+0100)  nodered  (node:40) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): Error: Peripheral already connected
24.03.19 23:49:20 (+0100)  nodered  (node:40) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 10): Error: Peripheral already connected
25.03.19 00:19:23 (+0100)  nodered  24 Mar 23:19:23 - [info] [debug:Error eq3: empty payload] empty payload
25.03.19 00:54:23 (+0100)  nodered  24 Mar 23:54:23 - [info] [debug:Error eq3: empty payload] empty payload
25.03.19 02:04:23 (+0100)  nodered  25 Mar 01:04:23 - [info] [debug:Error eq3: empty payload] empty payload
25.03.19 02:34:23 (+0100)  nodered  25 Mar 01:34:23 - [info] [debug:Error eq3: empty payload] empty payload
25.03.19 02:49:23 (+0100)  nodered  25 Mar 01:49:23 - [info] [debug:Error eq3: empty payload] empty payload
25.03.19 03:14:23 (+0100)  nodered  25 Mar 02:14:23 - [info] [debug:Error eq3: empty payload] empty payload
25.03.19 05:04:24 (+0100)  nodered  25 Mar 04:04:24 - [info] [debug:Error eq3: empty payload] empty payload
25.03.19 06:14:24 (+0100)  nodered  25 Mar 05:14:24 - [info] [debug:Error eq3: empty payload] empty payload
25.03.19 08:29:24 (+0100)  nodered  25 Mar 07:29:24 - [info] [debug:Error eq3: empty payload] empty payload
25.03.19 08:44:24 (+0100)  nodered  25 Mar 07:44:24 - [info] [debug:Error eq3: empty payload] empty payload

Error: "MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 servicesDiscover listeners added. Use emitter.setMaxListeners() to increase limit"

The warning "MaxListenersExceededWarning" has been seen in the node-red log file. See first line below:

24.03.19 14:07:04 (+0100)  nodered  (node:40) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 servicesDiscover listeners added. Use emitter.setMaxListeners() to increase limit
24.03.19 14:07:04 (+0100)  nodered  (node:40) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 42): Error: Peripheral already connected
24.03.19 14:07:04 (+0100)  nodered  (node:40) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 44): Error: Peripheral already connected

Unhandled promise rejection - Peripheral already connected

From time to time the below error can be found in the node-red log file.

24.03.19 13:18:32 (+0100)  nodered  24 Mar 12:18:32 - [info] [debug:Error eq3: empty payload] empty payload
24.03.19 13:33:33 (+0100)  nodered  (node:40) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 22): Error: Peripheral already connected

detect when button has been pressed, temperature has been changed on the device itself.

When the "boost" button on the eQ-3 device is pressed or the temperature has been changed on the eQ-3 device itself, then this is reflected in the response to the next get status request.

It would be good if the node-red flows would also report this as a separate event (a kind of changed-on-device-event).

This would make following use cases relatively easy to implement:

  1. When the boost button on the eQ-3 is pushed, that this will also switch on the central heating (pump) if not yet the case.
  2. When the temperature has been changed via the rotary knob on the eQ-3 that this will increase/decrease the volume of another IoT device.

[error] the specified device at 00:1a:22:0f:07:67 has not been found yet

From time to time we get the below error in the log file:

24.03.19 14:11:40 (+0100)  nodered  24 Mar 13:11:40 - [error] the specified device at 00:1a:22:0f:07:67 has not been found yet
24.03.19 14:11:40 (+0100)  nodered  24 Mar 13:11:40 - [warn] list of all available addressess will be retrieved...

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.