Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Freedomotic
  4. Freedomotic

Freedomotic

Scheduled Pinned Locked Moved Freedomotic
automationserialgatewaycontroller
72 Posts 15 Posters 41.6k Views 4 Watching
  • 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.
  • D Offline
    D Offline
    diamantmatch
    wrote on last edited by
    #27

    Thanks @tbowmo !
    I uploaded two standard sketches to the node and the gateway so i never noticed before.
    It seems quite logical to define the child-sensor-ID in the sketches on the sensor node itself.
    will do that next time i upload a new sketch!

    1 Reply Last reply
    0
    • freedomoticF Offline
      freedomoticF Offline
      freedomotic
      Plugin Developer
      wrote on last edited by
      #28

      Hi all,
      thanks for your explanations. I have some questions:

      1. when the controller assigned an ID, this is stored on the node. If the controller restarts, is this address maintained in the node? or does the node detect this restarting and ask again a new address?
      2. is the address changed only after a specific request by the node?
        Hope my questions are clear. Every freedomotic object must have a fixed address, so if it assign an ID, this shouldn't change at any restarting of software or node.
        Thanks for your support.

      Freedomotic Iot & Smart Spaces framework
      http://www.freedomotic.com

      1 Reply Last reply
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #29
        1. yes node remembers id and won't ask again.

        2. Normally the node wont ask again (unless you clear the eeprom).

        1 Reply Last reply
        0
        • NuubiN Offline
          NuubiN Offline
          Nuubi
          wrote on last edited by
          #30

          (might be a silly question..) How do you clean the eeprom? Is it not enought to write another sketch to the chip?

          1 Reply Last reply
          0
          • hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #31

            I've created a ClearEpromConfig in examples.

            1 Reply Last reply
            0
            • D Offline
              D Offline
              diamantmatch
              wrote on last edited by
              #32

              hey,

              i really feel like i'm just nagging about things here.. sorry about that.
              i can not seem to get the sensor to listen to the serial output from the plugin..
              i suspect the plugin from not transmitting a newline, every string transmitted should end with \n

              thanks :)

              1 Reply Last reply
              0
              • freedomoticF Offline
                freedomoticF Offline
                freedomotic
                Plugin Developer
                wrote on last edited by freedomotic
                #33

                Hi @diamantmatch,
                I implemented a first draft of Auto-ID feature.
                If you want you can test it using the attached file (you must extract thejar in it), substituting the old in the plugin folder. Starting Freedomotic from command line you can see all plugin activity.
                I'm reviewing the entire plugin, to improve it and support an increasing number of devices.
                Let me know and thanks for support mysensors-3.0.zip

                Freedomotic Iot & Smart Spaces framework
                http://www.freedomotic.com

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Aloha
                  wrote on last edited by
                  #34

                  Hi Mauro,

                  I read somewhere there's currently no web frontend. Is this still the case? And if so, how do you access freedomotic remotely?

                  / Thomas

                  1 Reply Last reply
                  0
                  • freedomoticF Offline
                    freedomoticF Offline
                    freedomotic
                    Plugin Developer
                    wrote on last edited by
                    #35

                    Hi Thomas,
                    the web client is under development. We hope to realease soon a first demo. If you are interested you can take a look at our repository https://github.com/freedomotic (Polymer). Now is it possible to interact remotely using our REST API (under development). It's the base to create customized clients in every programming languages. More info at http://freedomotic.com/content/plugins/restapi-v3
                    Remember that Freedomotic is a "framework" to create custom iot/home/building automations solutions.
                    Thanks for your interest
                    Mauro

                    Freedomotic Iot & Smart Spaces framework
                    http://www.freedomotic.com

                    1 Reply Last reply
                    0
                    • freedomoticF freedomotic

                      Hi Vincent,
                      please can you give me more details? What's the expected reply from the controller (freedomotic)?
                      And your sensor request? I developed the plugin by simulating devices communications. Maaybe something is not complete.
                      Thanks for your support.

                      A Offline
                      A Offline
                      asterisco
                      wrote on last edited by
                      #36

                      @freedomotic

                      Hi freedomotic, I'm traying to test you plug-in in freedomotic, but dont make it works. Could you please give me a mini setup advise, for example for a** RelayActuator** using Lights General Switch. I set

                      protocolo: mysensors
                      dirección: 7;1 //static ip because i don`t use AUTO mode (or should I use AUTO mode? to make it works)
                      actions: turn on/of MySensors light

                          <property name="serial.port" value="COM5"/>       
                          <property name="serial.baudrate" value="115200"/>
                          <property name="serial.databits" value="8"/>
                          <property name="serial.parity" value="0"/>
                          <property name="serial.stopbits" value="1"/>
                      

                      There is allways the same message:
                      my sensors is reciving a command while is not running. Turn on the plugin first.

                      but the plugin is turned on, what im doing wrong???
                      thanks

                      1 Reply Last reply
                      0
                      • freedomoticF Offline
                        freedomoticF Offline
                        freedomotic
                        Plugin Developer
                        wrote on last edited by
                        #37

                        Hi @asterisco
                        can you post a complete console log? If you double click on plugin icon (to stop it) and do the same to restart it do you receive the same error? Thanks for support

                        Freedomotic Iot &amp; Smart Spaces framework
                        http://www.freedomotic.com

                        A 1 Reply Last reply
                        0
                        • D Offline
                          D Offline
                          dzairo
                          wrote on last edited by
                          #38

                          Hi.
                          I download and try your freedomotic .. Install MySensor Plugin ..
                          But show : Plugin started failed , see log for detail.

                          Is possible make tutorial for WIndows 7 user ?
                          What all need install , download and set..

                          regards.

                          1 Reply Last reply
                          0
                          • freedomoticF Offline
                            freedomoticF Offline
                            freedomotic
                            Plugin Developer
                            wrote on last edited by
                            #39

                            Hi @dzairo
                            I need more info, for example your configuration data. Probably your serial port is not set correctly.
                            Start Freedomotic, go to Plugins->Configure (in Main menu), select MySensors and set your gateway port.
                            If you can start freedomotic from command line as "java -jar freedomotic.jar" so you can see all error messages.
                            I'm improving documentation and log messages.
                            Thanks for support

                            Freedomotic Iot &amp; Smart Spaces framework
                            http://www.freedomotic.com

                            1 Reply Last reply
                            0
                            • freedomoticF freedomotic

                              Hi @asterisco
                              can you post a complete console log? If you double click on plugin icon (to stop it) and do the same to restart it do you receive the same error? Thanks for support

                              A Offline
                              A Offline
                              asterisco
                              wrote on last edited by
                              #40

                              @asterisco said:

                              my sensors is reciving a command while is not running. Turn on the plugin first.

                              quite similar errors with the plugin started or stoped

                              plugin stoped: my sensors is reciving a command while is not running. Turn on the plugin first.
                              ** plugin started:** Succesfull test receives a command while is not ruuning. Turn on the plugin firsr

                              the logs appear and disappear as quikly thar they are almost imposible to read and i de log file is empty

                              bye

                              1 Reply Last reply
                              0
                              • freedomoticF Offline
                                freedomoticF Offline
                                freedomotic
                                Plugin Developer
                                wrote on last edited by
                                #41

                                Hi @asterisco
                                I uploaded a new version with improved log messages. Can you remove the old plugin folder and reinstall it?
                                Are you using the last dailybuild?
                                Thanks

                                Freedomotic Iot &amp; Smart Spaces framework
                                http://www.freedomotic.com

                                1 Reply Last reply
                                0
                                • M Offline
                                  M Offline
                                  Martin Guttesen
                                  wrote on last edited by
                                  #42

                                  I get an exception when i try to use mysensor plugin
                                  Windows 8.1
                                  INFO <AWT-EventQueue-0> [Plugin] Starting plugin MySensors
                                  Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/freed
                                  omotic/objects/EnvObjectPersistence
                                  at com.freedomotic.plugins.devices.mysensors.MySensors.loadConfiguredObj
                                  ects(MySensors.java:227)
                                  at com.freedomotic.plugins.devices.mysensors.MySensors.onStart(MySensors
                                  .java:65)
                                  at com.freedomotic.api.Protocol$1.run(Protocol.java:133)
                                  at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnabl
                                  e.java:120)
                                  at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.
                                  java:108)
                                  at org.apache.shiro.subject.support.DelegatingSubject.execute(Delegating
                                  Subject.java:391)
                                  at com.freedomotic.security.AuthImpl2.executePrivileged(AuthImpl2.java:1
                                  86)
                                  at com.freedomotic.security.AuthImpl2.pluginExecutePrivileged(AuthImpl2.
                                  java:177)
                                  at com.freedomotic.api.Protocol.start(Protocol.java:151)
                                  at com.freedomotic.jfrontend.PluginJList$1$1.actionPerformed(PluginJList
                                  .java:116)
                                  at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
                                  at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
                                  at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
                                  at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
                                  at javax.swing.AbstractButton.doClick(Unknown Source)
                                  at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
                                  at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
                                  Source)
                                  at java.awt.Component.processMouseEvent(Unknown Source)
                                  at javax.swing.JComponent.processMouseEvent(Unknown Source)
                                  at java.awt.Component.processEvent(Unknown Source)
                                  at java.awt.Container.processEvent(Unknown Source)
                                  at java.awt.Component.dispatchEventImpl(Unknown Source)
                                  at java.awt.Container.dispatchEventImpl(Unknown Source)
                                  at java.awt.Component.dispatchEvent(Unknown Source)
                                  at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
                                  at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
                                  at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
                                  at java.awt.Container.dispatchEventImpl(Unknown Source)
                                  at java.awt.Window.dispatchEventImpl(Unknown Source)
                                  at java.awt.Component.dispatchEvent(Unknown Source)
                                  at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
                                  at java.awt.EventQueue.access$200(Unknown Source)
                                  at java.awt.EventQueue$3.run(Unknown Source)
                                  at java.awt.EventQueue$3.run(Unknown Source)
                                  at java.security.AccessController.doPrivileged(Native Method)
                                  at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
                                  ce)
                                  at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
                                  ce)
                                  at java.awt.EventQueue$4.run(Unknown Source)
                                  at java.awt.EventQueue$4.run(Unknown Source)
                                  at java.security.AccessController.doPrivileged(Native Method)
                                  at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
                                  ce)
                                  at java.awt.EventQueue.dispatchEvent(Unknown Source)
                                  at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                                  at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                                  at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
                                  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                                  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                                  at java.awt.EventDispatchThread.run(Unknown Source)
                                  Caused by: java.lang.ClassNotFoundException: com.freedomotic.objects.EnvObjectPe
                                  rsistence
                                  at java.net.URLClassLoader$1.run(Unknown Source)
                                  at java.net.URLClassLoader$1.run(Unknown Source)
                                  at java.security.AccessController.doPrivileged(Native Method)
                                  at java.net.URLClassLoader.findClass(Unknown Source)
                                  at java.lang.ClassLoader.loadClass(Unknown Source)
                                  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
                                  at java.lang.ClassLoader.loadClass(Unknown Source)
                                  ... 48 more

                                  1 Reply Last reply
                                  0
                                  • freedomoticF Offline
                                    freedomoticF Offline
                                    freedomotic
                                    Plugin Developer
                                    wrote on last edited by
                                    #43

                                    Thanks for your report.
                                    I'll take a look ASAP.

                                    Freedomotic Iot &amp; Smart Spaces framework
                                    http://www.freedomotic.com

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      sdndba
                                      wrote on last edited by
                                      #44

                                      Hi @freedomotic
                                      I've read over all the posts and would like to get an update on the status of the plugin, also would like to know where to get the latest version. If I can get this installed I can help you test in on a very large system with over 50 nodes with various sensors on a ranch. Thanks,

                                      1 Reply Last reply
                                      0
                                      • freedomoticF Offline
                                        freedomoticF Offline
                                        freedomotic
                                        Plugin Developer
                                        wrote on last edited by
                                        #45

                                        Hi @sdndba
                                        thanks for your offer. We are working on a new version. When it is available I'll post here.
                                        Happy new year!!!

                                        Freedomotic Iot &amp; Smart Spaces framework
                                        http://www.freedomotic.com

                                        1 Reply Last reply
                                        0
                                        • freedomoticF Offline
                                          freedomoticF Offline
                                          freedomotic
                                          Plugin Developer
                                          wrote on last edited by
                                          #46

                                          Hello
                                          @sdndba you can try a new version (in attachment)
                                          Download from http://teamcity.codebetter.com/guestAuth/repository/download/bt1177/.lastSuccessful/freedomotic-5.6.0-{build.number}.zip
                                          Extract it, then extract the plugin into freedomotic_folder/plugins/devices.
                                          Let me know
                                          Thanks for supportmysensors.zip

                                          Freedomotic Iot &amp; Smart Spaces framework
                                          http://www.freedomotic.com

                                          BobCB 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          11

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular