-
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) endMe:
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) endWhat??
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.
-
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. -
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.
-
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
-
Aften some testing I watt to clear KWH how ?
Regards Bjarne
-
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 -
You lot are more likely to have a view than most I know. Our much used Logitech Harmony is (not so) slowly dying.
And Logitech have discontinued the entire line.
And no one else appears to be making something similar.
Was going for a Sofabaton X1, but no numeric keypad. Sofabaton U1, but no favourites.
Anyone got suggestions?
Needs to have those features, oh and not be only a phone app.....C
-
Since one member asked at one point about the "front end" and "back end", I drew this showing the controller from the base to the tip along with what I have found to be the best options from my testing. Almost every controller will try to integrate all elements, especially commercial ones but... they all have strengths and weaknesses so if one can have a medley of the best ones...
-
-
So, I think I'm in a bit of an unusual situation. I work at a camp & retreat center that has wifi throughout. I want to put a few switches in the office that can control outdoor lighting throughout the camp. We currently have switches in each of the buildings, but it is a particularly frustrating job to get all the lights on in the evening when it is brutally cold out or we are short staffed.
Most of our staff is not very tech savvy (my boss literally has his wife print out his emails for him each day!!!) so, I'd love to avoid having to set up any sort of raspberry pi or new phone app.
Is there type of 3-way switch that can connect to the wifi, turn on a light in another building AND turn on an indicator light in the office, without having any sort of wire running between the buildings? Hopefully looking for a simple solution without breaking the bank too.
I greatly appreciate any input that you can give. Thank you!
Solved "kinda smart" switch to put behind a normal light switch
-
Hello!
I want to trigger an event (like switching on a smart Zigbee power plug) when a regular light switch (that switches regular non-smart LED light bulbs) is flipped. Is there something I can put behind a light switch to achieve this? Or something to splice in between the switch and the light bulbs? A good option would also be Hue compatible.
Thank you!
-
I have both Zwave and Wifi device attached to normal buttons, switching lights or without power, and then turning on/off other devices via scenes/scripting. In one case, I'm using a Shelly i3 to turn on 3 different Hue Lights. You'll definitely need something like Openluup or Home Assistant to script this, but it's doable.
-
I have both Zwave and Wifi device attached to normal buttons, switching lights or without power, and then turning on/off other devices via scenes/scripting. In one case, I'm using a Shelly i3 to turn on 3 different Hue Lights. You'll definitely need something like Openluup or Home Assistant to script this, but it's doable.
-
+1 for the Shelly i3 for this application!
-
@therealdb said in "kinda smart" switch to put behind a normal light switch:
snip
You'll definitely need something like Openluup or Home Assistant to script this, but it's doable.Why?
You can just use Reactor or MSR to achieve this result. +1 for the Shellies.... -
@black-cat because afaik hue lights are not directly supported by msr, and they were mentioned. I’m not sure if the op has any other hub, but the point is to be sure you can turn on/off the light via http calls.
-
Thank you guys, the i3 looks like it could do the job!
I have hubs from Bosch, Hue, and Tado.
-
The i3 is a bit wasteful if only a single switch. If it is a single switch why not go with a shelly 1 then you make the light smart and can also send http request or subscribe to device mqtt stat topic.
-
That light switch has to work exactly as before. So the i3 seems to be the best option here, indeed. That is, if exactly this:
is possible.
As for the Shelly 1, I may have a different use. Is it possible to give power to a "door buzzer"*) for a predefined amount of time (like 5s)?
Sorry, I don't know the word for it in any language. It makes "bzzzzzz" and you can open the door.
-
@huhnmann yes, I’m using this to open a gate. This is often referred to as latching or pulsing. Shelly 1 has an option to turn off a relay after a given amount of time.
-
@therealdb Perfect, thank you!
-
@huhnmann said in "kinda smart" switch to put behind a normal light switch:
That light switch has to work exactly as before.
fitting a shelly 1 , the light should function as before but also have smart capabilities, so you get the best of both worlds
-
@elcid No, because the switch's off and on positions would change, every time its smart capabilities are used. Or is the Shelly 1 capable of physically flipping the switch's position?
-
This is why I use push switches, rather than toggle switches… can’t bear to see a toggle in the ‘wrong’ position for the light status. That’s OCD for you! Same is true for two or three way arrangements.
I use the MK Grid switch hardware (in the UK) which allows you to swap out individual switches in a multi-switch wall plate.
-
No, that's normal, not OCD.
I could easily change the switch, but I need it to work exactly as it does now with exactly that switch. But you're right, of course, that this would make things easier.
-
-
@akbooer said in "kinda smart" switch to put behind a normal light switch:
I use the MK Grid switch hardware (in the UK)
I use Click Mode, good quality. These are not grid design but still all switches can be interchanged, the have mulitple inserts and colours. And the bonus of being cheaper than MK. and take less space in the box.
-
@huhnmann You could still use the shelly 1 in the same way as a i3. You can disiconnect the relay from the switch. You then end up with what you required, and you are still left with future options if you change you requirements.
p.s. It is OCD no matter how much you deny it. -
@elcid said in "kinda smart" switch to put behind a normal light switch:
@huhnmann You could still use the shelly 1 in the same way as a i3. You can disiconnect the relay from the switch. You then end up with what you required, and you are still left with future options if you change you requirements.
p.s. It is OCD no matter how much you deny it.Maybe, but in this case, it's called "old people compatibility".
But I'll have another look at the Shelly 1, thank you!
-
@elcid CDO. It's like OCD but the letters are in the right order....