Discussion Forum to share and further the development of home control and automation, independent of platforms.

    SmartHome Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Unsolved
    (Last Updated: 14 June 2020)
    • MIOS - UI5 web login

      Black Cat

      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
    • 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
    • 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...

      CatmanV2

      ...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

      LibraSun

      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
    • OT: Universal Remote

      CatmanV2

      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

      General Discussion
    • The Home Automation Controller Pyramid

      rafale77

      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...

      Screen Shot 2020-05-14 at 07.11.06.png

      General Discussion
    • Thread removed - why?

      Black Cat

      I was just going to add my support for a Update Button for the bare bones version of MSR and find the thread has been removed.
      I'm wondering what was so provocative that required it's removal?
      Have we become as paranoid as an owner of another forum?

      Anyway +1 for an Update Button.

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

    Reactor Oddity

    General Discussion
    2
    6
    122
    Loading More Posts
    • 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.
    • CatmanV2
      CatmanV2 last edited by

      Morning. As posted elsewhere, I've killed all my scenes and moved to Reactor.
      One thing that is not quite working is my morning alarm. The idea (and the scene) was that the alarm clock device changes state, then triggers reactor to os.execute a script which curls to my volumio player. No biggy been working for years. Reactor seems unhappy and damned if I can see why:

      Specific screen shot:

      Screenshot 2020-06-12 at 06.47.01.png

      Shows that the sensor has been false since 0530 June 11, but the log shows:

      06	06/12/20 6:00:00.110	Device_Variable::m_szValue_set device: 141 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTrip was: 1591849810 now: 1591938000 #hooks: 0 upnp: 0 skip: 0 v:0xd04870/NONE duplicate:0 <0x74c87520>
      06	06/12/20 6:00:00.121	Device_Variable::m_szValue_set device: 141 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Tripped was: 0 now: 1 #hooks: 1 upnp: 0 skip: 1 v:0xd055a8/NONE duplicate:0 <0x74c87520>
      08	06/12/20 6:00:00.363	JobHandler_LuaUPnP::HandleActionRequest device: 141 service: urn:upnp-org:serviceId:VClock1 action: GetAlarmTime <0x75287520>
      06	06/12/20 6:01:32.490	Device_Variable::m_szValue_set device: 141 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: ArmedTripped was: 1 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0x12d0c38/DL_ARMEDTRIPPED duplicate:0 <0x76f73520>
      06	06/12/20 6:01:32.491	Device_Variable::m_szValue_set device: 141 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTrip was: 1591938000 now: 1591938092 #hooks: 0 upnp: 0 skip: 0 v:0x12d0a80/NONE duplicate:0 <0x76f73520>
      06	06/12/20 6:01:32.492	Device_Variable::m_szValue_set device: 141 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Tripped was: 1 now: 0 #hooks: 0 upnp: 0 skip: 1 v:0x12d0950/NONE duplicate:0 <0x76f73520>
      

      That it tripped (as expected) at 0600 June 12th.

      Any thoughts as to what I'm missing? I've tried with ArmedTripped as well, and that also didn't fire.

      Logic summary

      *************************************************** REACTOR LOGIC SUMMARY REPORT ***************************************************
         Version: 3.6 config 20070 cdata 20045 ui 20130 pluginDevice 109 LuaXP 1.0.2enh
          System: Vera version 1.7.4833 (7.30) on Sercomm G450 ID 36 (Vera Plus); loadtime 1591938067/1591938091; systemReady 1591938096; ALTUI v2.49
             Env: Lua 5.1; JSON dkjson 1.2; UnsafeLua=1/true
      Local time: 2020-06-12T06:43:40+0100; DST=1; Harlow, England United Kingdom; formats %Y-%m-%d %H:%M:%S
      House mode: plugin 1; system 1; tracking on
        Sun data: { "source": "int", "civdawn": 1591930374, "nautdawn": 1591925888, "sunset": 1591993087, "nautdusk": 1592000446, "stamp": 2020164, "latitude": 51.76253, "astrodusk": null, "longitude": 0.134391, "civdusk": 1591995960, "astrodawn": null, "sunrise": 1591933248 }
        Geofence: not running
              RS: 1591734364,1591735539,1591737519,1591738125,1591766191,1591770523,1591770640,1591786032,1591786144,1591938091
              NS: 0:X,1589293080:U,1589395800:D,1589395860:U,1590934920:D,1590935220:U
      ************************************************************************************************************************************
      Bedroom Keypad (#132)
          Version 19082.114 06/11/20 06:05:02
          Message/status: Not tripped
          Condition group "Master Bedroom Keypad" (AND)  false as of 03-29.02:00:01 <root>
            &-F-group "Single press on button one (DAY)" (AND)  false as of 04-19.07:43:04 <grpgsop1aj>
            |     &-?-comment "Sets the house up for morning when the sun is up. 13 minute delay for showering" <condlcz902i>
            |     &-F-group "Has Alexa triggered the shower" (OR)  false as of 06-09.11:47:45 <grpso06xoi>
            |     |     |-F-service Shower_Trigger (257) urn:upnp-org:serviceId:SwitchPower1/Status = 1 [0 at 06-09.11:47:45; F/F as of 06-09.11:47:45/06-09.11:47:45] <condso07vu3>
            |     |     |-F-group "Or has button one been pressed" (AND)  false as of 06-09.11:47:45 <grpso07bdg>
            |     |     |     &-F-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 1 [9 => 13 at 06-09.12:59:21; F/F as of 04-19.07:43:04/04-19.07:43:04] <condgsopmmy>
            |     |     |     &-F-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update ; output follow, delay reset for 30s [1591786135 => 1591938068 at 06:01:32; F/F as of 06-09.12:59:21/06-09.12:59:51] <condgsopzzi>
            |     &-T-service Day or Night (26) urn:rts-services-com:serviceId:DayTime/Status = 1 [0 => 1 at 04:55:29; T/T as of 04:55:29/04:55:29] <condgsoqhi9>
            &-F-group "Single press on button one (NIGHT)" (AND)  false as of 06-10.21:24:50 <grpgniuphh>
            |     &-?-comment "Sets the house up for the morning when the sun has not risen. 13 minute delay for showering" <condlcz9wih>
            |     &-F-group "Has Alexa triggered the shower" (OR)  false as of 06-09.11:47:45 <grpso0a7si>
            |     |     |-F-service Shower_Trigger (257) urn:upnp-org:serviceId:SwitchPower1/Status = 1 [0 at 06-09.11:47:45; F/F as of 06-09.11:47:45/06-09.11:47:45] <condso0b46s>
            |     |     |-F-group "Or has button one been pressed" (AND)  false as of 06-09.11:47:45 <grpso0af3p>
            |     |     |     &-F-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 1 [9 => 13 at 06-09.12:59:21; F/F as of 04-19.07:43:04/04-19.07:43:04] <condgniuzpf>
            |     |     |     &-F-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update ; output follow, delay reset for 30s [1591786135 => 1591938068 at 06:01:32; F/F as of 06-09.12:59:21/06-09.12:59:51] <condgnivjlq>
            |     &-F-service Day or Night (26) urn:rts-services-com:serviceId:DayTime/Status = 0 [0 => 1 at 04:55:29; F/F as of 04:55:29/04:55:29] <condgniw190>
            &-F-group "Single press on button two or Alexa: Time to get up (DAY)" (AND)  false as of 06:28:24 <grpgr2s3wv>
            |     &-?-comment "Sets the house up for the morning when the sun has risen" <condqj3av4l>
            |     &-F-group "grpqj3anz5" (OR)  false as of 06:28:24 <grpqj3anz5>
            |     |     |-F-service Morning_Trigger (244) urn:upnp-org:serviceId:SwitchPower1/Status = 1 [1 => 0 at 06:28:24; F/F as of 06:28:24/06:28:24] <condqj3ceq3>
            |     |     |-F-group "grpqj3h1hl" (AND)  false as of 04-16.15:58:09 <grpqj3h1hl>
            |     |     |     &-F-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 5 [9 => 13 at 06-09.12:59:21; F/F as of 04-18.08:23:33/04-18.08:23:33] <condgr2s5sn>
            |     |     |     &-F-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1591786135 => 1591938068 at 06:01:32; F/F as of 06-09.12:59:21/06-09.12:59:21] <condgr2s6us>
            |     &-T-service Day or Night (26) urn:rts-services-com:serviceId:DayTime/Status = 1 [0 => 1 at 04:55:29; T/T as of 04:55:29/04:55:29] <condgr2sais>
            &-F-group "Single press on button two or Alexa: Time to get up (NIGHT)" (AND)  false as of 03-29.02:00:01 <grpgr2u86a>
            |     &-?-comment "Sets the house up for the morning when the sun has not risen" <condqk6823b>
            |     &-F-group "grpqj3o1cv" (OR)  false as of 06:28:24 <grpqj3o1cv>
            |     |     |-F-service Morning_Trigger (244) urn:upnp-org:serviceId:SwitchPower1/Status = 1 [1 => 0 at 06:28:24; F/F as of 06:28:24/06:28:24] <condqj3oo8j>
            |     |     |-F-group "grpqj3o71s" (AND)  false as of 04-16.16:03:39 <grpqj3o71s>
            |     |     |     &-F-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 5 [9 => 13 at 06-09.12:59:21; F/F as of 04-18.08:23:33/04-18.08:23:33] <condgr2u9lp>
            |     |     |     &-F-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1591786135 => 1591938068 at 06:01:32; F/F as of 06-09.12:59:21/06-09.12:59:21] <condgr2ubyr>
            |     &-F-service Day or Night (26) urn:rts-services-com:serviceId:DayTime/Status = 0 [0 => 1 at 04:55:29; F/F as of 04:55:29/04:55:29] <condgr2ucpa>
            &-F-group "Single press on button three" (AND)  false as of 06-09.12:59:16 <grpsnwx0ou>
            |     &-?-comment "Starts the Volumio in the master bedroom" <condsnwxjp9>
            |     &-F-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 9 [9 => 13 at 06-09.12:59:21; F/F as of 06-09.12:59:21/06-09.12:59:21] <condsnwy7uc>
            |     &-F-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1591786135 => 1591938068 at 06:01:32; F/F as of 06-09.12:59:21/06-09.12:59:21] <condsnwyyoc>
            &-F-group "Single press on button 4" (AND)  false as of 06-09.12:59:21 <grpsnwxb2q>
            |     &-?-comment "Stops the Volumio in the master bedroom" <condsnwzhlj>
            |     &-T-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 13 [9 => 13 at 06-09.12:59:21; T/T as of 06-09.12:59:21/06-09.12:59:21] <condsnwzx12>
            |     &-F-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1591786135 => 1591938068 at 06:01:32; F/F as of 06-09.12:59:21/06-09.12:59:21] <condsnx0hfc>
            &-F-group "Single press on button eight" (AND)  false as of 03-29.02:00:01 <grplcyu4s7>
            |     &-?-comment "This will turn the house off" <condlcyu60p>
            |     &-?-comment "Note the House virtual switch runs the Good Night scene in the Master Bedroom" <condlcz2fmh>
            |     &-F-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 29 [9 => 13 at 06-09.12:59:21; F/F as of 03-29.02:00:01/03-29.02:00:01] <condlcyvekq>
            |     &-F-service Master_Bedr_ZRC-90 (7) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1591786135 => 1591938068 at 06:01:32; F/F as of 06-09.12:59:21/06-09.12:59:21] <condlcyx74m>
            &-F-group "Alarm Clock" (AND)  false as of 06-11.05:30:10 <grpsnxo66j>
            |     &-?-comment "Not part of the keypad, but removing the Alarm Clock scene" <condsnxofxi>
            |     &-F-service Alarm_Clock (141) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped = 1 [1 => 0 at 06-11.05:30:10; F/F as of 06-11.05:30:10/06-11.05:30:10] <condsnxox6c>
          Activity grpsnwx0ou.true
              Run Lua:
                   1: os.execute ("/BedroomPlay")
          Activity grpsnwxb2q.true
              Run Lua:
                   1: os.execute("/BedroomStop")
          Activity grpgr2u86a.true
              Device Kettle_Plug (153) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
              Device Kitchen_Lights (15) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
              Device Standard_Lamp (57) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
              Device Table Lamp (37) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
              Device Security (235) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
              Device Morning_Trigger (244) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
          Activity grpsnxo66j.true
              Run Lua:
                   1: os.execute ("/BedroomWakeup >/dev/null 2>&1 <&- &")
          Activity grpgsop1aj.true
              Run Lua:
                   1: os.execute ("/BathroomPlay")
              Delay 720 inline
              Device Kettle_Plug (153) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
              Device Security (235) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
          Activity grplcyu4s7.true
              Device House (152) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
          Activity grpgr2s3wv.true
              Device Kettle_Plug (153) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
              Device Security (235) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
              Device Morning_Trigger (244) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
          Activity grpgniuphh.true
              Delay 720 inline
              Run Lua:
                   1: os.execute ("/BathroomPlay")
              Device Kettle_Plug (153) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
              Device Kitchen_Lights (15) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
              Device Standard_Lamp (57) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
              Device Table Lamp (37) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
              Device Security (235) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
          Events
              2020-06-12 06:01:31: Reactor startup (Luup reload)
              2020-06-12 06:01:31: Starting (Luup Startup/Reload)
              2020-06-12 06:01:32: Sensor update starting
              2020-06-12 06:01:32: Sensor update completed; 0.170s
              2020-06-12 06:28:10: Device Morning_Trigger (#244) urn:upnp-org:serviceId:SwitchPower1/Status changed from "0" to "1"
              2020-06-12 06:28:10: Sensor update starting
              2020-06-12 06:28:10: Condition condqj3ceq3 test state changed from false to true
              2020-06-12 06:28:10: Condition condqj3ceq3 evaluation state changed from false to true
              2020-06-12 06:28:10: Group grpqj3anz5 test state changed from false to true
              2020-06-12 06:28:10: Group grpqj3anz5 evaluation state changed from false to true
              2020-06-12 06:28:10: Group Single press on button two or Alexa: Time to get up (DAY) test state changed from false to true
              2020-06-12 06:28:10: Group Single press on button two or Alexa: Time to get up (DAY) evaluation state changed from false to true
              2020-06-12 06:28:10: Condition condqj3oo8j test state changed from false to true
              2020-06-12 06:28:10: Condition condqj3oo8j evaluation state changed from false to true
              2020-06-12 06:28:10: Group grpqj3o1cv test state changed from false to true
              2020-06-12 06:28:10: Group grpqj3o1cv evaluation state changed from false to true
              2020-06-12 06:28:10: Preparing Single press on button two or Alexa: Time to get up (DAY).true (grpgr2s3wv.true) activity
              2020-06-12 06:28:10: Launching scene/activity grpgr2s3wv.true
              2020-06-12 06:28:10: Starting "grpgr2s3wv.true" group 1
              2020-06-12 06:28:24: Device Morning_Trigger (#244) urn:upnp-org:serviceId:SwitchPower1/Status changed from "1" to "0"
              2020-06-12 06:28:24: Activity "grpgr2s3wv.true" finished
              2020-06-12 06:28:24: Stopping activity "grpgr2s3wv.true"
              2020-06-12 06:28:24: Sensor update completed; 13.702s
              2020-06-12 06:28:24: Sensor update starting
              2020-06-12 06:28:24: Condition condqj3ceq3 test state changed from true to false
              2020-06-12 06:28:24: Condition condqj3ceq3 evaluation state changed from true to false
              2020-06-12 06:28:24: Group grpqj3anz5 test state changed from true to false
              2020-06-12 06:28:24: Group grpqj3anz5 evaluation state changed from true to false
              2020-06-12 06:28:24: Group Single press on button two or Alexa: Time to get up (DAY) test state changed from true to false
              2020-06-12 06:28:24: Group Single press on button two or Alexa: Time to get up (DAY) evaluation state changed from true to false
              2020-06-12 06:28:24: Condition condqj3oo8j test state changed from true to false
              2020-06-12 06:28:24: Condition condqj3oo8j evaluation state changed from true to false
              2020-06-12 06:28:24: Group grpqj3o1cv test state changed from true to false
              2020-06-12 06:28:24: Group grpqj3o1cv evaluation state changed from true to false
              2020-06-12 06:28:24: Sensor update completed; 0.054s
          Devices
              ZWave (1) urn:schemas-micasaverde-com:device:ZWaveNetwork:1 (19/0); parent 0; plugin -; mfg  model ; dev D_ZWaveNetwork.xml impl 
              Switchboard Plugin (117) urn:schemas-toggledbits-com:device:Switchboard:1 (1/-1); parent 0; plugin 9194; mfg  model ; dev D_Switchboard1.xml impl I_Switchboard1.xml
              Table Lamp (37) urn:schemas-upnp-org:device:BinaryLight:1 (3/0); parent 1; plugin -; mfg  model ; dev D_BinaryLight1.xml impl 
              Master_Bedr_ZRC-90 (7) urn:schemas-micasaverde-com:device:SceneController:1 (14/0); parent 1; plugin -; mfg Remotec model ZRC-90; dev D_SceneController1.xml impl 
              Standard_Lamp (57) urn:schemas-upnp-org:device:BinaryLight:1 (3/0); parent 1; plugin -; mfg Everspring model ; dev D_BinaryLight1.xml impl 
              House (152) urn:schemas-upnp-org:device:BinaryLight:1 (3/3); parent 117; plugin -; mfg rigpapa model Switchboard Virtual Binary Switch; dev D_BinaryLight1.xml impl 
              Alarm_Clock (141) urn:schemas-upnp-org:device:VClock:1 (0/-1); parent 0; plugin 2838; mfg  model ; dev D_VClock.xml impl I_VClock.xml
              Kettle_Plug (153) urn:schemas-upnp-org:device:BinaryLight:1 (3/3); parent 1; plugin -; mfg  model ; dev D_BinaryLight1.xml impl 
              Day or Night (26) urn:schemas-rts-services-com:device:DayTime:1 (0/-1); parent 0; plugin 3166; mfg  model ; dev D_DayTime.xml impl I_DayTime.xml
              Security (235) urn:schemas-upnp-org:device:BinaryLight:1 (3/0); parent 117; plugin -; mfg rigpapa model Switchboard Virtual Binary Switch; dev D_BinaryLight1.xml impl 
              Kitchen_Lights (15) urn:schemas-upnp-org:device:DimmableLight:1 (2/3); parent 1; plugin -; mfg Fibaro model FGD-212; dev D_DimmableLight1.xml impl 
              Shower_Trigger (257) urn:schemas-upnp-org:device:BinaryLight:1 (3/0); parent 117; plugin -; mfg rigpapa model Switchboard Virtual Binary Switch; dev D_BinaryLight1.xml impl 
              Morning_Trigger (244) urn:schemas-upnp-org:device:BinaryLight:1 (3/0); parent 117; plugin -; mfg rigpapa model Switchboard Virtual Binary Switch; dev D_BinaryLight1.xml impl 
          Watches
              Device #244 Morning_Trigger service urn:upnp-org:serviceId:SwitchPower1 variable Status
              Device #141 Alarm_Clock service urn:micasaverde-com:serviceId:SecuritySensor1 variable Tripped
              Device #7 Master_Bedr_ZRC-90 service urn:micasaverde-com:serviceId:SceneController1 variable sl_CentralScene
              Device #26 Day or Night service urn:rts-services-com:serviceId:DayTime variable Status
              Device #257 Shower_Trigger service urn:upnp-org:serviceId:SwitchPower1 variable Status
              Device #132 Bedroom Keypad service urn:toggledbits-com:serviceId:ReactorSensor variable TestTime
              Device #132 Bedroom Keypad service urn:toggledbits-com:serviceId:ReactorSensor variable cdata
              Device #132 Bedroom Keypad service urn:toggledbits-com:serviceId:ReactorSensor variable TestHouseMode
          Special Configuration
              UseReactorScenes = 1
              Retrigger = 0
              FailOnTrouble = 0
              ContinuousTimer = 0
      

      Cheers

      C

      The Ex-Vera abuser know as CatmanV2.....

      1 Reply Last reply Reply Quote 0
      • CatmanV2
        CatmanV2 last edited by

        Hmm, just tested this and it worked perfectly. I think this was a contemporaneous Luup reload possibly, or possibly not, caused by logs rotating

        I shall watch with interest

        C

        The Ex-Vera abuser know as CatmanV2.....

        1 Reply Last reply Reply Quote 0
        • rafale77
          rafale77 last edited by

          I think you are onto something but the log should show that luup has reloaded. Did it not?

          1 Reply Last reply Reply Quote 0
          • CatmanV2
            CatmanV2 last edited by

            It did, and it appears to be logging out of order, which is pretty much the only way I caught it...

            ESC[7;36m2020-06-12 06:01:07 - LuaUPnP Terminated with Exit Code: 137ESC[1;00m
            03      06/12/20 6:01:07.909    LuaUPNP: starting bLogUPnP 0 <0x77a04320>
            02      06/12/20 6:01:07.918    ESC[33;1mJobHandler_LuaUPnP::Run: pid 12479 didn't exitESC[0m <0x77a04320>
            02      06/12/20 6:01:08.153    ESC[33;1mUserData::TempLogFileSystemFailure start 1ESC[0m <0x77a04320>
            02      06/12/20 6:01:08.293    ESC[33;1mUserData::TempLogFileSystemFailure 8700 res:1
            -rw-r--r--    1 root     root            33 Nov 28  2019 /etc/cmh/HW_Key
            -rw-r--r--    1 root     root            31 Apr 14  2017 /etc/cmh/HW_Key2
            -rw-r--r--    1 root     root             9 Nov 28  2019 /etc/cmh/PK_AccessPoint
            -rw-r--r--    1 root     root             7 Apr 20  2019 /etc/cmh/PK_Account
            -rw-r--r--    1 root     root           452 Jun 12 06:00 /etc/cmh/alerts.json
            -rw-r--r--    1 root     root             0 Dec 20  2017 /etc/cmh/cameras
            -rw-r--r--    1 root     root           457 Nov 28  2019 /etc/cmh/cmh.conf
            -rw-r--r--    1 root     root             0 Nov 28  2019 /etc/cmh/devices
            -rw-r--r--    1 root     root         16383 Jul 31  2018 /etc/cmh/dongle.4.5.dump.0
            -rw-r--r--    1 root     root         16383 Jun  1  2018 /etc/cmh/dongle.4.5.dump.1
            -rw-r--r--    1 root     root         16383 Apr  7  2018 /etc/cmh/dongle.4.5.dump.2
            -rw-r--r--    1 root     root         16383 Mar  4  2018 /etc/cmh/dongle.4.5.dump.3
            -rw-r--r--    1 root     root         16383 Feb  1  2018 /etc/cmh/dongle.4.5.dump.4
            -rw-r--r--    1 root     root         16383 Jan 30  2018 /etc/cmh/dongle.4.5.dump.5
            -rw-r--r--    1 root     root         16383 Jun 12 02:00 /etc/cmh/dongle.6.1.dump.0
            -rw-r--r--    1 root     root         16383 Jun 11 02:00 /etc/cmh/dongle.6.1.dump.1
            -rw-r--r--    1 root     root         16383 Jun 10 07:35 /etc/cmh/dongle.6.1.dump.2
            -rw-r--r--    1 root     root         16383 Jun 10 03:00 /etc/cmh/dongle.6.1.dump.3
            -rw-r--r--    1 root     root         16383 Jun 10 02:00 /etc/cmh/dongle.6.1.dump.4
            -rw-r--r--    1 root     root         16383 Jun  9 02:00 /etc/cmh/dongle.6.1.dump.5
            -rw-r--r--    1 root     root            41 Dec  3  2018 /etc/cmh/ergy_key
            -rw-r--r--    1 root     root             0 Nov 28  2019 /etc/cmh/first_boot
            -rw-r--r--    1 root     root             1 Nov 28  2019 /etc/cmh/ip_mode
            -rw-r--r--    1 root     root            48 Apr 14  2017 /etc/cmh/keys
            -rw-r--r--    1 root     root             3 Jan  1  2000 /etc/cmh/language
            -rw-r--r--    1 root     root             2 Nov 28  2019 /etc/cmh/language_id
            -rw-r--r--    1 root     root            10 Jun 11 09:46 /etc/cmh/last_backup
            -rw-r--r--    1 root     root            10 Mar 22 01:01 /etc/cmh/last_reboot
            -rw-r--r--    1 root     root            11 Jun 11 12:58 /etc/cmh/last_report
            -rw-r--r--    1 root     root            71 Jun  9 20:46 /etc/cmh/lighttpd_failures
            -rw-r--r--    1 root     root            10 Feb 23  2019 /etc/cmh/lock_log_levels
            -rw-r--r--    1 root     root         36316 Nov 28  2019 /etc/cmh/network_pnp.lua
            -rw-r--r--    1 root     root            12 Jan  1  2000 /etc/cmh/platform
            -rw-r--r--    1 root     root           458 Nov 28  2019 /etc/cmh/ra_key
            -rw-r--r--    1 root     root             0 Nov 28  2019 /etc/cmh/rebrand
            -rw-r--r--    1 root     root            10 Apr 24 14:03 /etc/cmh/reupgraded.firmware
            -rw-r--r--    1 root     root             0 Nov 28  2019 /etc/cmh/scenarios
            -rw-r--r--    1 root     root          2043 Dec 13 17:01 /etc/cmh/servers.conf
            -rw-r--r--    1 root     root          2007 Nov 28  2019 /etc/cmh/servers.conf.catman
            -rw-r--r--    1 root     root          1520 Nov 28  2019 /etc/cmh/servers.conf.default
            -rw-r--r--    1 root     root          1520 Apr 19  2019 /etc/cmh/servers.conf.default.orig
            -rw-r--r--    1 root     root          2014 Feb 28  2019 /etc/cmh/servers.conf.orig
            -rw-r--r--    1 root     root            20 Dec 13 17:01 /etc/cmh/servers.conf.timestamp
            -rw-r--r--    1 root     root           181 Nov 28  2019 /etc/cmh/servers_whitelist
            -rw-r--r--    1 root     root          1604 Jun 11 12:58 /etc/cmh/services.conf
            -rw-r--r--    1 root     root            20 Apr 14  2017 /etc/cmh/sync_kit
            -rw-r--r--    1 root     root            20 Apr 14  2017 /etc/cmh/sync_rediscover
            -rw-r--r--    1 root     root             2 Jan  1  2000 /etc/cmh/ui
            -rw-r--r--    1 root     root             2 Nov 19  2019 /etc/cmh/ui_man
            -rw-r--r--    1 root     root             5 Nov 28  2019 /etc/cmh/ui_skin
            -rw-r--r--    1 root     root           504 Nov 28  2019 /etc/cmh/user_data.json.luup.lzo
            -rw-r--r--    1 root     root        138744 Jun 12 06:01 /etc/cmh/user_data.json.lzo
            -rw-r--r--    1 root     root        138736 Jun 12 06:01 /etc/cmh/user_data.json.lzo.1
            -rw-r--r--    1 root     root        138389 Jun 12 05:58 /etc/cmh/user_data.json.lzo.2
            -rw-r--r--    1 root     root        138393 Jun 12 05:52 /etc/cmh/user_data.json.lzo.3
            -rw-r--r--    1 root     root        138371 Jun 12 05:46 /etc/cmh/user_data.json.lzo.4
            -rw-r--r--    1 root     root        138373 Jun 12 05:40 /etc/cmh/user_data.json.lzo.5
            -rw-r--r--    1 root     root         44240 Jan 15  2019 /etc/cmh/user_data.json.lzo.bak
            -rw-r--r--    1 root     root         29078 Apr 21  2017 /etc/cmh/user_data.json.lzo.modified
            -rw-r--r--    1 root     root         29049 Apr 21  2017 /etc/cmh/user_data.json.lzo.orig
            -rw-r--r--    1 root     root         28512 Apr 21  2017 /etc/cmh/user_data.json.lzo.working
            -rw-r--r--    1 root     root            53 Apr 20  2019 /etc/cmh/users.conf
            -rw-r--r--    1 root     root            20 Apr 20  2019 /etc/cmh/users.conf.timestamp
            -rw-r--r--    1 root     root             3 Nov 28  2019 /etc/cmh/vera_model
            -rw-r--r--    1 root     root             9 Jan  1  2000 /etc/cmh/version
            -rw-r--r--    1 root     root             9 May 21 16:15 /etc/cmh/version.latest
            -rw-r--r--    1 root     root             5 Nov 28  2019 /etc/cmh/version.short
            -rw-r--r--    1 root     root             9 Jun 10 21:16 /etc/cmh/version_latest
            -rw-r--r--    1 root     root             5 Apr 14  2017 /etc/cmh/zigbee_version
            -rw-r--r--    1 root     root             8 Jun 12 05:58 /etc/cmh/zwave_house_id
            -rw-r--r--    1 root     root             3 Apr 20  2019 /etc/cmh/zwave_locale
            -rw-r--r--    1 root     root            53 Jun 10 11:48 /etc/cmh/zwave_version
            
            /etc/cmh/orig:
            -rw-r--r--    1 root     root             0 Nov 28  2019 devices
            -rw-r--r--    1 root     root             0 Nov 28  2019 first_boot
            -rw-r--r--    1 root     root             0 Nov 28  2019 fresh_install
            -rw-r--r--    1 root     root             0 Nov 28  2019 scenarios
            -rw-r--r--    1 root     root           558 Nov 28  2019 user_data.json.lzo
            
            /etc/cmh/persist:
            
            /etc/cmh/wan_failover:
            -rw-r--r--    1 root     root            31 Nov 28  2019 check_internet.hosts
            df -h
            Filesystem                Size      Used Available Use% Mounted on
            rootfs                   54.4G    152.8M     51.5G   0% /
            /dev/root                10.0M     10.0M         0 100% /rom
            tmpfs                   124.8M      1.6M    123.1M   1% /tmp
            /dev/sda2                54.4G    152.8M     51.5G   0% /
            tmpfs                   512.0K         0    512.0K   0% /dev
            /dev/sda1               487.8M     21.7M    436.5M   5% /tmp/log/cmh
            /dev/mtdblock10          50.0M      1.5M     48.5M   3% /storage
            /dev/mtdblock10          50.0M      1.5M     48.5M   3% /etc/cmh-firmware
            /dev/mtdblock10          50.0M      1.5M     48.5M   3% /etc/cmh-backup
            /dev/mtdblock9            9.8M      9.8M         0 100% /mios
            logread
            Fri Jun 12 05:56:01 2020 cron.info crond[2731]: crond: USER root pid 13594 cmd /usr/bin/Rotate_Logs.sh
            Fri Jun 12 05:57:01 2020 cron.info crond[2731]: crond: USER root pid 13781 cmd /usr/bin/Rotate_Logs.sh
            Fri Jun 12 05:58:01 2020 cron.info crond[2731]: crond: USER root pid 13993 cmd /usr/bin/Rotate_Logs.sh
            Fri Jun 12 05:59:01 2020 cron.info crond[2731]: crond: USER root pid 14191 cmd /usr/bin/Rotate_Logs.sh
            Fri Jun 12 06:00:01 2020 cron.info crond[2731]: crond: USER root pid 14410 cmd /usr/bin/Rotate_Logs.sh
            

            You can see from the last 5 lines

            C

            The Ex-Vera abuser know as CatmanV2.....

            1 Reply Last reply Reply Quote 0
            • CatmanV2
              CatmanV2 last edited by

              Hmm, Alarm clock went off this morning. Luup restarted. I suspect there's a nastiness in the way my script responds to Reactor. I shall break it up and do it all in Reactor 🙂

              C

              The Ex-Vera abuser know as CatmanV2.....

              1 Reply Last reply Reply Quote 0
              • CatmanV2
                CatmanV2 last edited by

                No Luup reload this morning. Random alarm late last night but that's totally different!

                Reactor FTW! 😉

                C

                The Ex-Vera abuser know as CatmanV2.....

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post

                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.

                Powered by NodeBB | Contributors
                Hosted freely by 10RUPTiV - Solutions Technologiques | Contact us