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: 22 May 2020)
    • How to reset kwh

      B

      Aften some testing I watt to clear KWH how ?

      Regards Bjarne

      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
    • 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
    • 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
    • 3-way smart switches in separate buildings.

      D

      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!

      General Discussion
    • X-10 replacement for a new wall switch (HomeKit)

      G

      I have a X10 wall switch system and I want to get rid of it. What would be the easiest transition to something more modern and easy to use with either wifi/homekit capabilities? My current X10 controls 3 zones in my bedroom. All zones are dimmable.
      Zone 1 is 4 canister ceiling lights. LED bulbs
      Zone 2 is 1 canister ceiling lights. Halogen Bulb
      Zone 3 is 1 canister ceiling lights. Halogen Bulb
      I have an old plug-in remote from Radio Shack and a wall switch with 3 buttons, each controlling one zone. (images attached)
      My wall switch has one two wires from the wall. One black, one white.

      Is there any solution easy to install without the need of an electrician? Thanks for any feedback.

      ij455pd333061.jpg.jpeg ttsjhpd333061.jpg.jpeg

      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

    Vera firmware update

    General Discussion
    5
    17
    198
    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

      Can anyone remind me the trick to stop Vera nagging me about the firmware 'upgrade' that's available. Apart from the move to OpenLuup 😉

      C

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

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

        ahhh I am trying to remember.... (I nuked my vera and it has become very non vera, much more like a ramips openwrt router)
        I had a script to run on cron to copy the content of the current firmware info file into the firmware latest file.
        I think you are plenty capable of reproducing it:
        The files name is self explanatory and are stored in the /etc/cmh folder. All you need to do is

        cp /etc/cmh/version /etc/cmh/version_latest
        

        and put that in /etc/crontab/* to run every hour or so. Verify the file names too because this is all out of memory.

        1 Reply Last reply Reply Quote 1
        • DesT
          DesT last edited by

          Move to zway + openLuup 😉

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

            Cheers!

            C

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

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

              Ok even better:

              this will disable the automated version checking from the vera:
              edit /www/cgi-bin/cmh/get_version
              and add "return" after the bracket of line 24.

              Now you only need to copy the "version" file once.
              This script runs once a day.

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

                Your memory is correct 🙂
                ...or very nearly. Actually version_latest 😉

                C

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

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

                  Interestingly altering the get-version file seems to throw a bit of a cureveball in terms of not thinking you're logged in.

                  C

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

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

                    Uhh I think I even hacked that back then... Since I had removed my vera from my account for ages to prevent errant cmh reloads signals sent from their servers, I could never be logged in. So I hacked the webserver to assume that I always am. I am surprised the two would be related though. Let me see how I did this.

                    Probably best to stick with the crontab way for now. It is the least intrusive.

                    1 Reply Last reply Reply Quote 1
                    • akbooer
                      akbooer @CatmanV2 last edited by akbooer

                      @CatmanV2 said in Vera firmware update:

                      stop Vera nagging me about the firmware 'upgrade'

                      So that’s only an issue if you use Vera’s own interface, yes? I really can’t remember the last time I needed to do that, since I always ran (indeed, still run) AltUI as my everyday interface to Vera.

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

                        @akbooer said in Vera firmware update:

                        @CatmanV2 said in Vera firmware update:

                        stop Vera nagging me about the firmware 'upgrade'

                        So that’s only an issue if you use Vera’s own interface, yes? I really can’t remember the last time I needed to do that, since I always ran (indeed, still run) AltUI as my everyday interface to Vera.

                        Force of habit. Fair point, though. Plus the alerts....

                        C

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

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

                          While looking into SFTPing into my vera I found out that in order to save some minute storage space, they removed SFTP from the vera firmware. You could connect with SSH, SCP but not SFTP. I highlighted this before in the old place but I didn't know how. I just fixed it.
                          So basically dropbear lacks an sftp server and this tiny program is fairly easy to add back.:
                          You just need to install the openssl-sftp-server package and get it launched right after dropbear at startup.
                          I vaguely remember to have forced the webserver to act as if it was logged by editing the /www/cgi/js/interface.js file and changing the value of "this.userAuthenticated" to 1 from !1.

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

                            OK, cheers. No real panic 🙂

                            C

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

                            1 Reply Last reply Reply Quote 0
                            • Black Cat
                              Black Cat last edited by

                              There was a script that did that.
                              I used it so it wasn't a myth. .

                              I've searched for it endlessly but suspect it was removed for reasons unknown.

                              aka Zedrally

                              rafale77 1 Reply Last reply Reply Quote 0
                              • rafale77
                                rafale77 @Black Cat last edited by rafale77

                                @Black-Cat

                                It is more than likely one of my technical posts they deleted without telling me.
                                It is this:

                                os.execute("cat /etc/cmh/version > /etc/cmh/version_latest")
                                

                                This needs to be run every day though so you could potentially put in a timer triggered scene instead of my crontab idea.
                                There are so many ways to do this... I think this would be the easiest.

                                1 Reply Last reply Reply Quote 0
                                • Black Cat
                                  Black Cat last edited by Black Cat

                                  @rafale77 said in Vera firmware update:

                                  @Black-Cat

                                  It is more than likely one of my technical posts they deleted without telling me.
                                  It is this:

                                  os.execute("cat /etc/cmh/version > /etc/cmh/version_latest")
                                  

                                  This needs to be run every day though so you could potentially put in a timer triggered scene instead of my crontab idea.
                                  There are so many ways to do this... I think this would be the easiest.

                                  No it wasn't this one. The one I used was and os.execute, but only needed to be run once. It worked flawlessly until I ran an update. Probably the only thing that did run without constant attention.

                                  aka Zedrally

                                  rafale77 1 Reply Last reply Reply Quote 0
                                  • rafale77
                                    rafale77 @Black Cat last edited by

                                    @Black-Cat

                                    Then I don't know.
                                    Another way to make it permanent (until the next upgrade) is to run this:

                                    os.execute("sed  -i 's/upgradeAvailable=1/upgradeAvailable=0/g' /www/cgi-bin/cmh/get_version.sh|cat /etc/cmh/version > /etc/cmh/version_latest")
                                    
                                    
                                    Black Cat 1 Reply Last reply Reply Quote 0
                                    • Black Cat
                                      Black Cat @rafale77 last edited by

                                      @rafale77 said in Vera firmware update:

                                      @Black-Cat

                                      Then I don't know.
                                      Another way to make it permanent (until the next upgrade) is to run this:

                                      os.execute("sed  -i 's/upgradeAvailable=1/upgradeAvailable=0/g' /www/cgi-bin/cmh/get_version.sh|cat /etc/cmh/version > /etc/cmh/version_latest")
                                      
                                      

                                      That could be it, however, it's a moot point if you have updated to the latest (&Last) FW version.

                                      aka Zedrally

                                      1 Reply Last reply Reply Quote 0
                                      • 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 PointPub Media Communications Inc. | Contact us