• Categories
  • Recent
  • Tags
  • Popular
  • Unsolved
Collapse
Discussion Forum to share and further the development of home control and automation, independent of platforms.

SmartHome Community

Replacing Nest Thermostat but....
DesTD

Hey guys...

We are replacing the heat pump and furnace this week and I will also need to replace my nest thermostat at the same time 'cause Nest is ending the cloud thing end of the month.

Anyway, I'm looking to use the

T6 Pro Z-Wave Programmable Thermostat | Smart Home | Honeywell Home

That's what the heat pump installer recommend BUT, using Nest I was also using it to control the home humidifier using a single wire connected to nest... but no low voltage thermostat is able to do that, I checked all of them...

So I need some help on how I can do that, to connect the home humidifier using zwave also....

General Discussion
Prensence sensor - client - base technologi
E

Hi

We are looking for a solution where we can detect presence of a «thing» (people , car , dog, cat, and more..

We need:

fast detections, 1-3 seconds in range from 0 to 20 m from «base» fysical «client» , chip , transmitter , unit. base , receiver placed at a door, gate, house, etc uniq Identifying wireless

The client:

no need for pressing any thing (no buttons) battery , hoply 2-5 years battery time.

Have someone done anything like this?
What technologi will be best?

General Discussion
Smart bed sensor
C

Hey everyone, I'm currently working on developing a bed sensor that can detect when you're out of bed. It could be used to trigger other smart home gadgets, like lights or blinds, temperature etc.
The sensors are placed under the legs of your bed post. Should look and feel like "smart furniture pads" with size 2 inches in diameter and 1/4 inch thick.
Before we go any further, I'd love to get your thoughts on this - would a bed sensor like this be something you'd find useful? We're still in the early stages of development, so any feedback you have would be greatly appreciated. Thanks in advance!

smart möbeltass.JPG

General Discussion
Block Code (Fenced) formatting issues in new forums
toggledbitsT

@DesT, fenced code blocks display differently after the upgrade.

abc def

The above should display as abc and def on two separate lines. This works. But this fails:

verbose: true config: data: "auto"

The above should display as three lines, verbose: true, config: and data: "auto", but this fails. In order to make it display properly, I now have to open the fenced code block with ```text (specify language, generic text). This displays without highlighting. The words yml and yaml (and the all-caps versions) don't seem to be recognized. I can also use js to get JavaScript highlighting, but this isn't great for YAML. Here's the same block with the language (text) specifier added (no other changes):

verbose: true config: data: "auto"

Sure, we can start adding language specifiers to our new posts, but I suspect if we start digging around old posts, we're going to find a lot of broken display of the fenced code blocks (plain ``` at the start with no language specifier) in the thousands of old posts in these forums, upon which people still rely for answers and information.

Log file snippets also get similarly brutalized:

[###BUILDVERSION###]2023-04-26T19:41:51.683Z <ZWaveJSController:NOTICE> ZWaveJSController#zwavejs added file logger to zwavejs.log [###BUILDVERSION###]2023-04-26T19:41:51.747Z <ZWaveJSController:WARN> zwavejs_capabilities defines x_zwave_device_cfg, which is not consistent with the recommended naming [###BUILDVERSION###]2023-04-26T19:41:51.747Z <ZWaveJSController:WARN> zwavejs_capabilities defines x_zwave_mfg_spec, which is not consistent with the recommended naming [###BUILDVERSION###]2023-04-26T19:41:51.747Z <ZWaveJSController:WARN> zwavejs_capabilities defines x_zwave_device_ver, which is not consistent with the recommended naming [###BUILDVERSION###]2023-04-26T19:41:51.747Z <ZWaveJSController:WARN> zwavejs_capabilities defines x_zwave_values, which is not consistent with the recommended naming [###BUILDVERSION###]2023-04-26T19:41:51.837Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs connecting to ws://192.168.0.10:3000 [###BUILDVERSION###]2023-04-26T19:41:51.874Z <ZWaveJSController:NOTICE> ZWaveJSController#zwavejs connected [###BUILDVERSION###]2023-04-26T19:41:51.874Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs sending connection initialization [###BUILDVERSION###]2023-04-26T19:41:51.931Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs greeting from server: [Object]{ "type": "version", "driverVersion": "10.16.0", "serverVersion": "1.28.0", "homeId": 3631280043, "minSchemaVersion": 0, "maxSchemaVersion": 28 } [###BUILDVERSION###]2023-04-26T19:41:51.932Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs performing initial inventory [###BUILDVERSION###]2023-04-26T19:41:52.325Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs manufacturer-specific data for 134 (AEON Labs) from package ver 22315.1 [###BUILDVERSION###]2023-04-26T19:41:52.328Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs configuring node 1 endpoint 0 (entity "1-0") [###BUILDVERSION###]2023-04-26T19:41:52.339Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs manufacturer-specific data for 543 (Elexa Consumer Products Inc.)

I think this is going to be a problem. Is there a way in NodeBB to configure the default language for fenced code block markdown for the entire forum so that these display more as they did before the upgrade?

EDIT: Examples below of old posts with corrupt formatting now:

https://smarthome.community/topic/1101/dynamic-groups-controller-filter-expressions

https://smarthome.community/post/11362

This last old post is interesting, because the first block displays incorrectly, but the second block is OK. In playing around, there seem to be triggering character sequences, suggesting that the markdown processor is trying to "guess" the language but not getting it right, perhaps:

https://smarthome.community/post/11332

General Discussion
Privacy concerns in Smart homes survey
M

Hi guys,
we are doing a survey in IT privacy and security and we want to analyze the user perception of privacy concerns in smart homes. It will only take 5-10 min to fill out the survey 🙂
i would be very thankful if you could take part and help us to get as many responses as possible.

User Perception of Privacy concerns of actual and potential Home Automatisation users

Thank you!

General Discussion
MIOS - UI5 web login
Black CatB

Can anyone help with the MIOS UI5 weblink? Not the getvera one.
Still running UI5 on a couple of sensors & lights and need to tweak PLEG but for the life of me I can't remember the link to tunnel back to the trusty machine....

General Discussion
Smart devices and mesh
J

The wifi on my router is turned off, and wifi around the house is provided using a mesh - 3 units altogether (one connected directly to the router) that are spread around the house.

I would like to start automating certain tasks around the house and intend to try adding a few smart sockets to my setup.

The mesh system I have supports both 2.4GHz and 5GHz, and does not provide me with the option to control them - i.e. turn one or both on/off, give each a different SSID, etc.

The devices I wish to purchase/use only support 2.4GHz.

Will turning the mesh units off and temporarily turning the 2.4GHz wifi on the router to allow me to set them up be enough? Will I then be able to return to my usual setup and everything will work as it should?

Many thanks in advance

General Discussion
ChatGPT - finally I can now retyre in piece and quite, knowing everting is in goof hands.
A

ChatGPT samples:

Me:

Tell me about an iot program called openLuup.

It:

OpenLuup is an open source home automation system that is built on the VeraLuup platform. It is designed to be easy to install and configure, and provides users with a powerful and versatile way to control their home automation devices. OpenLuup offers a wide range of features, including support for many popular home automation devices, scheduling, scripting, and integration with other services. OpenLuup is designed to be customizable, allowing users to create their own home automation systems. It is an excellent choice for those looking to create their own home automation system without spending a lot of money.

Me:

Write an iot program using openLuup.

It:

--openLuup IoT Program-- -- Initialize Variables -- local device_id = "MyHomeDevice" local temperature_sensor_id = "MyTemperatureSensor" local temperature_threshold = 75 -- Create Devices -- luup.create_device("OpenLuup Temperature Sensor", 0, device_id, "D_GenericSensor1.xml", "I_GenericSensor1.xml", "S_TemperatureSensor1.xml", "") luup.variable_set("urn:upnp-org:serviceId:TemperatureSensor1", "CurrentTemperature", 0, device_id) -- Start Timer -- luup.call_delay("check_temperature", 10, "", false) --Function to Check Temperature-- function check_temperature() local current_temperature = luup.variable_get(temperature_sensor_id, "CurrentTemperature", 0) --Check Temperature Threshold-- if current_temperature >= temperature_threshold then --Send Alert-- luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1", "SendTextMessage", {PhoneNumber="1234567890", Message="ALERT! Temperature exceeded threshold!"}, 0) end --Reset Timer-- luup.call_delay("check_temperature", 10, "", false) end

Me:

Write an iot program using openLuup.

It:

Write an iot program using openLuup. -- openLuup IOT Program -- -- Variables local lampState = false local lampTime = 0 -- Functions function lampTimer() if lampTime > 0 then lampTime = lampTime - 1 if lampTime == 0 then luup.variable_set('urn:upnp-org:serviceId:SwitchPower1', 'Status', 0, lampDeviceID) lampState = false end end end -- Setup luup.call_delay('lampTimer', 60, 0) -- Main Loop while true do -- Check for motion if luup.variable_get('urn:micasaverde-com:serviceId:MotionSensor1', 'Tripped', motionSensorDeviceID) == '1' then if not lampState then luup.variable_set('urn:upnp-org:serviceId:SwitchPower1', 'Status', 1, lampDeviceID) lampState = true -- Set lamp timer to 5 minutes lampTime = 300 end end luup.sleep(1) end

What??

luup.sleep(1)

Not good - looks like I still have some semblance of a job to fulfill.

Me:

An iot program called openLuup was written by akbooer. Who is akbooer?

It: (note: answer redacted and as I understand it, also incorrect re: AltUI):

akbooer is the pseudonym of the software developer and home automation enthusiast. He is the creator of the openLuup home automation software, which is an open-source version of the Vera home automation system. He is also the creator of the AltUI graphical user interface for openLuup.

Me:

Who created of the AltUI graphical user interface for openLuup.

and

Me:

Who created of the AltUI graphical user interface for the home automation system Vera.

Names two different people - mmmm.

Regardless very impressive - give it a few more years.

General Discussion
A topic for self learning...
CatmanV2C

...which I'd like to do. I know I go about these things all wrong (namely think of something I'd like to do, then try and work out what I need to know) but that's me 🙂

Just looking for some pointers on what I should google for really:

What I'd like is to provide a selection of (basically two word) phases which I can select from randomly (or even pseudo randomly) and pass to Alexa to be spoken. There are 10 such phrases only.

So what should I be reading up on to get me started?

TIA for any guidance

C

General Discussion
Short survey
P

Hi,
I am a student and recently i am working on smart home project and writing a seminar paper about the way users handle and manage IoT devices. I you have 3 min, please fill below survey. Its really short.
Thank you in advance, I really appreciate everyone's help.

General Discussion
LibraSun's Dashboard Apps Roundup 2023
LibraSunL

For what it's worth, I've been putting the finishing touches on a much-updated version of my DP Apps spreadsheet -- specifically intended for HE users, at least for now -- and invite you all to take a gander http://bit.ly/hedb23 at the PDF one-page version.

Corrections and edits welcome (esp. for the HOMEKIT column, just added yesterday)! Thanks in advance, especially because I'm not a big dashboard user myself, but somehow accepted this role as "keeper of the list" as it were.

General Discussion
Separate switching bulb in one ceiling light
P

Hello guys,

I would like to achieve two different things with lights, but I am not sure it could be done. I am starting with smart things, and I am far from any electrician knowledge, wo any help is really appreciated.

I have dumb switches in my hall, controlled from 3 places. I understood that installing one smart module before first switch will make them "hybrid", both smart controlled and dumb controlled.

I would like to buy ceiling light with two bulb sockets. What I would like to achieve is I would like to have one bulb for normal daily usage (lets say cold white full brightness), and second for night time (aprox from 10pm till morning) with some red/orange - minimum brightness.

So question are:

Is there a way to keep both bulbs turning-on separated? So only one will be on during day, and then only second during night?

And could that be done with pressing dumb switch? What would I need to achieve it? (maybe another module into the ceiling lights)

Thank you in advance

General Discussion
How to reset kwh
B

Aften some testing I watt to clear KWH how ?

Regards Bjarne

General Discussion
Need help in finding the right smart switch for my kitchen lights
M

Hello,
I have a kitchen light that can be controlled by two switches, using either to turn it off or on. I have been slowly changing things over to be a smart home but this is the first switch I am attempting to install.
I am in a double wide modular home (mobile) that was built in 1994.
At first I thought I would need a 3 way switch but when taking the normal switches apart I realized that was incorrect because the wiring on my switches are different than anything I could find online.
For one a 3 way smart switch requires 5 wires and there are only 2 wires going into the primary switch with 3 wires going into the secondary switch from the primary switch (at least I think the 3 wires connect the two switches together). Images will be attached of the wiring.
There are two wires (one black and one white) going into the first switch and 3 wires (black, white, and red) going out of that and into the second switch (I assume). The odd thing is the red wire going to the second switch is connected to the white wire going into the first switch and the white wire going into the second switch seems to be a bridge wire or a traveler wire. Not exactly sure. You will see what I mean in the images.
I need to know what kind of smart switch I can use in this set up with one remaining a normal switch.
Note that for some reason the images got switched around when uploading them. The image with 2 wires on one side and 3 on the other is what I think is the primary and the image with just 3 wires is the secondary.
Primary.jpg Secondary.jpg

General Discussion

Welcome. If you’d like to participate in the discussion, rather than just read, then you can join the forum. As a member, you can interact with others here to share your experience and ask the questions you need answered.

For those who registered but didn't received the confirmation email, please send an email to support@smarthome.community with the email you used

Latest version is installed, we are still working on some visual changes.

Help please with Node-Red "Lost connection to server"

Scheduled Pinned Locked Moved Unsolved General Discussion
3 Posts 1 Posters 697 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • cw-kidC Offline
    cw-kidC Offline
    cw-kid
    wrote on last edited by
    #1

    Node-Red on my Linux Debian box seems to be having issues now. It keeps saying repeatedly "Lost connection to server, reconnecting..." in the web browser.

    I recently updated nodejs for MSR, I wonder if that might be related:

    "Bump recommended nodejs version to 16.13.0; versions 14 and 15 will continue to be supported through March 31, 2022"

    Nodejs version = v16.13.1

    I have tried updating Node-Red that is now version v2.1.4

    I also updated npm to version v8.2.0

    I am not sure how or where to look at the log file for node red?

    This is the contents of the nodered.service file in this directory:
    /etc/systemd/system/multi-user.target.wants

    # systemd service file to start Node-RED
    
    [Unit]
    Description=Node-RED graphical event wiring tool
    Wants=network.target
    Documentation=http://nodered.org/docs/hardware/raspberrypi.html
    
    [Service]
    Type=simple
    # Run as normal pi user - change to the user name you wish to run Node-RED as
    User=stuart
    Group=stuart
    WorkingDirectory=/home/stuart
    
    Environment="NODE_OPTIONS=--max_old_space_size=1024"
    # uncomment and edit next line if you need an http proxy
    #Environment="HTTP_PROXY=my.httpproxy.server.address"
    # uncomment the next line for a more verbose log output
    #Environment="NODE_RED_OPTIONS=-v"
    # uncomment next line if you need to wait for time sync before starting
    #ExecStartPre=/bin/bash -c '/bin/journalctl -b -u systemd-timesyncd | /bin/grep -q "systemd-timesyncd.* Synchronized to time server"'
    
    ExecStart=/usr/bin/env node-red-pi $NODE_OPTIONS $NODE_RED_OPTIONS
    #ExecStart=/usr/bin/env node $NODE_OPTIONS red.js $NODE_RED_OPTIONS
    # Use SIGINT to stop
    KillSignal=SIGINT
    # Auto restart on crash
    Restart=on-failure
    RestartSec=20
    # Tag things in the log
    SyslogIdentifier=Node-RED
    #StandardOutput=syslog
    
    [Install]
    WantedBy=multi-user.target
    

    Thanks

    1 Reply Last reply
    0
  • cw-kidC Offline
    cw-kidC Offline
    cw-kid
    wrote on last edited by cw-kid
    #2

    sudo journalctl -f -u nodered -o cat

    #4 Dec 15:52:58 - [error] [tuya-smart-device:Star Light] Error: Error from socket: connect EHOSTUNREACH 192.168.0.119:6668
    4 Dec 15:52:58 - [red] Uncaught Exception:
    4 Dec 15:52:58 - [error] Error: connect EHOSTUNREACH 192.168.0.119:6668
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16)
    nodered.service: Main process exited, code=exited, status=1/FAILURE
    nodered.service: Failed with result 'exit-code'.
    nodered.service: Service RestartSec=20s expired, scheduling restart.
    nodered.service: Scheduled restart job, restart counter is at 37.
    Stopped Node-RED graphical event wiring tool.
    Started Node-RED graphical event wiring tool.
    4 Dec 15:53:20 - [info]
    Welcome to Node-RED
    ===================
    4 Dec 15:53:20 - [info] Node-RED version: v2.1.4
    4 Dec 15:53:20 - [info] Node.js  version: v16.13.1
    4 Dec 15:53:20 - [info] Linux 4.19.0-18-amd64 x64 LE
    4 Dec 15:53:21 - [info] Loading palette nodes
    4 Dec 15:53:28 - [info] Settings file  : /home/stuart/.node-red/settings.js
    4 Dec 15:53:28 - [info] Context store  : 'default' [module=memory]
    4 Dec 15:53:28 - [info] User directory : /home/stuart/.node-red
    4 Dec 15:53:28 - [warn] Projects disabled : editorTheme.projects.enabled=false
    4 Dec 15:53:28 - [warn] Flows file name not set. Generating name using hostname.
    4 Dec 15:53:28 - [info] Flows file     : /home/stuart/.node-red/flows_HP-Thin01.json
    4 Dec 15:53:28 - [info] Server now running at http://127.0.0.1:1880/
    4 Dec 15:53:28 - [warn]
    ---------------------------------------------------------------------
    Your flow credentials file is encrypted using a system-generated key.
    If the system-generated key is lost for any reason, your credentials
    file will not be recoverable, you will have to delete it and re-enter
    your credentials.
    You should set your own key using the 'credentialSecret' option in
    your settings file. Node-RED will then re-encrypt your credentials
    file using your chosen key the next time you deploy a change.
    ---------------------------------------------------------------------
    4 Dec 15:53:28 - [info] Starting flows
    4 Dec 15:53:29 - [info] [tuya-smart-device:Star Light] Recieved the config {"id":"b2799abf.81c1a8","type":"tuya-smart-device","z":"7bd8e249.bbb27c","deviceName":"Star Light","deviceId":"bf62864a9977909c10zuey","deviceKey":"7904f95d6d266841","deviceIp":"192.168.0.119","retryTimeout":"1000","findTimeout":"1000","tuyaVersion":"3.1","eventMode":"event-both","x":880,"y":180,"wires":[["f6422200.35ec7"]]}
    4 Dec 15:53:29 - [info] [tuya-smart-device:Star Light] Event subscription : shouldSubscribeData=>true , shouldSubscribeRefreshData=>true
    4 Dec 15:53:29 - [info] [tuya-smart-device:Star Light] Connecting to Tuya with params {"id":"bf62864a9977909c10zuey","key":"7904f95d6d266841","ip":"192.168.0.119","issueGetOnConnect":false,"nullPayloadOnJSONError":false,"version":"3.1"} , findTimeout :  1000 , retryTimeout:  1000
    4 Dec 15:53:29 - [info] [tuya-smart-device:Star Light] Recieved the config {"id":"d9079dc4.b93c3","type":"tuya-smart-device","z":"7bd8e249.bbb27c","deviceName":"Star Light","deviceId":"bf62864a9977909c10zuey","deviceKey":"7904f95d6d266841","deviceIp":"192.168.0.119","retryTimeout":"1000","findTimeout":"1000","tuyaVersion":"3.1","eventMode":"event-both","x":320,"y":420,"wires":[["2b35a684.a57a9a","8ed8ece1.387ca"]]}
    4 Dec 15:53:29 - [info] [tuya-smart-device:Star Light] Event subscription : shouldSubscribeData=>true , shouldSubscribeRefreshData=>true
    4 Dec 15:53:29 - [info] [tuya-smart-device:Star Light] Connecting to Tuya with params {"id":"bf62864a9977909c10zuey","key":"7904f95d6d266841","ip":"192.168.0.119","issueGetOnConnect":false,"nullPayloadOnJSONError":false,"version":"3.1"} , findTimeout :  1000 , retryTimeout:  1000
    4 Dec 15:53:29 - [info] Started flows
    4 Dec 15:53:30 - [info] [tuya-smart-device:Star Light] initiating the find command
    4 Dec 15:53:30 - [info] [tuya-smart-device:Star Light] initiating the find command
    4 Dec 15:53:33 - [error] [tuya-smart-device:Star Light] Error: Error from socket: connect EHOSTUNREACH 192.168.0.119:6668
    4 Dec 15:53:33 - [red] Uncaught Exception:
    4 Dec 15:53:33 - [error] Error: connect EHOSTUNREACH 192.168.0.119:6668
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16)
    nodered.service: Main process exited, code=exited, status=1/FAILURE
    nodered.service: Failed with result 'exit-code'.
    

    192.168.0.119 is a Tuya WIFI lamp that I had powered off.

    I can't seem to update any of these nodes, it doesn't seem to do anything when I try.

    610bdef0-33d3-4c59-8488-940a64070298-image.png

    1 Reply Last reply
    0
  • cw-kidC Offline
    cw-kidC Offline
    cw-kid
    wrote on last edited by
    #3

    I've now powered that Tuya light back ON again so it is reachable on the WLAN and now I am able to update the nodes OK and then I rebooted the Linux box. Now the "Lost connection to server, reconnecting..." message has stopped appearing. So seems related to this Tuya node / light.

    I then powered OFF the Tuya light again and fingers crossed the "Lost connection to server, reconnecting..." message still hasn't come back, so I think managing to update the Tuya node may have fixed it. I will keep an eye on it.

    1 Reply Last reply
    0

Recent Topics

  • toggledbitsT
    Host time is wrong
  • DesTD
    RulesEngine
  • G
    OWM error
  • G
    [SOLVED-ish] New iblind and zwaveJScontroller/MSR not communicating
  • therealdbT
    Replacing Nest Thermostat but....
  • H
    Connect small (torch-sized) light bulb to smart home network
  • toggledbitsT
    Reactor (Multi-System/Multi-Hub) Announcements
  • E
    Prensence sensor - client - base technologi
  • A
    Truncated web pages using wireguard over long distances
  • toggledbitsT
    Migration question
  • M
    docker synology import
  • therealdbT
    Smart bed sensor
Powered by NodeBB | Contributors
Hosted freely by 10RUPTiV - Solutions Technologiques | Contact us
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved
  • Login

  • Don't have an account? Register

  • Login or register to search.