Skip to content

Controllers

Controller discussions
1.5k Topics 12.7k Posts

  • 260 2k
    260 Topics
    2k Posts
    No new posts.
  • 204 2k
    204 Topics
    2k Posts
    kerberosK
    Hi @adds666 I did in between the switch from 2.5.12 to 3.4.4 a change from pure textual configuration in 2.5.12 to a UI configuration in 3.4.4. This requires some homework. Can't remember beside the exchanged mysensors binding files anything else to upgrade to 4.0.4 from 3.4.4 and finally to current 4.1.1. Keep in mind, I use a OpenHAB manual installation on a non-Debian Linux system, not openHABian. This may have an influence, but I don't expect any hiccups. kerberos
  • 322 2k
    322 Topics
    2k Posts
    dirkjuD
    @goblin feel free to share concrete error messages or questions. We might be able to help on well-described problems. Otherwise - hope ChatGPT can help you ;-)
  • 24 337
    24 Topics
    337 Posts
    CharallC
    Looks pretty nice.
  • 8 40
    8 Topics
    40 Posts
    G
    Like you, I'd like to play with my Hometroller Zee S2. (2nd hand; Not yet received from Ebay) Did you succed in your project ? Programming Ardunios is a piece of cake and compared to z-wave items, the price is ridiculus.
  • 10 57
    10 Topics
    57 Posts
    mfalkviddM
    @btmerz I am not familiar with fham, but see if V_KWH works. For Ah it would (technically) be incorrect, but I think the display and aggregegation would work anyway.
  • 2 9
    2 Topics
    9 Posts
    AlexieA
    This issue is already resolved in DomotiGa.
  • 4 Topics
    75 Posts
    freedomoticF
    Hi all we are working on a new web client for our domotic framework. Here some screenshots [image: fd5.png?part=0.7&view=1&vt=ANaJVrEZGlBm56DRoEIytzEGrrMV0OXO3g99sjFBL8H9PoX9OP1OTIpbN6zJxtvaSCc8xSddjrnLNPl-4vH3bEz6B0Js-VZx4mOBPuaRJ3QoSLwA5EPYlPI] [image: fd_mobile2.png?part=0.2&view=1&vt=ANaJVrEUs3ydycP8me4baRK56FRppkkthGMq4FG-tycTWT93WKq3oF3GKzHbkDY7AIKFpBVoGa1Z6wt2JLMGtJrWqUA6QACZh3BXx8FwSJ5V9XeM3VoBYPg] [image: fd_4.png?part=0.6&view=1&vt=ANaJVrFb4sDmn_knAqbVFc0xgc6SRm_gsyHRpPctZ6-qqRla8sduX3DwO1qM98efhTFT_zAtfxnFL_nTJASRNbC_NpKMg0ayZoMkUq9nijhJ9vq56PECvLs] It's a WIP so we need any help to complete it. The code is available at https://github.com/freedomotic/fd-vue-webapp/
  • 4 Topics
    38 Posts
    T
    I successfully worked around the issue by updating the /Library/Application Support/Perceptive Automation/Indigo 2022.1/Plugins/MySensors.indigoPlugin/Contents/Server Plugin /plugin.py script to recognize the internal 21 code. Here's the diff: 34c134,135 < "GATEWAY_READY" : [14, "Gateway ready", ""] "GATEWAY_READY" : [14, "Gateway ready", ""], "DISCOVER_RESPONSE" : [21, "Discover response", ""] 715a717,719 elif itemType == self.getInternalNumber("DISCOVER_RESPONSE"): # 21 Ignore pass P.S. Indigo 2022.1 is complaining about this plugin that it won't be supported in future releases. Is there anyone out there planning to update this plugin?
  • 12 41
    12 Topics
    41 Posts
    J
    view Thank you for the link I'll head in that direction feedback after testing
  • 0 Votes
    9 Posts
    5k Views
    G
    If I was to write something like this right now. I would probably use the MEAN stake. MongoDB Express Angular Node.js With NodeJS and express you can have it do your api then add AngulerJS and Web Sockets to those two and you will have a very resonsive Web based UI. Here is were it gets interesting. Python, C++, or C#. Python works with Nodejs very well. Windows 10 under the hood has some big changes which will make it very interesting for development. The new Windows Universal is really new (it is not even released) and very interesting. I have seen it called Core and Windows IoT. I'm right now toying around with Windows IoT on a Raspberry PI and attempting to create a MySensors gateway. I have had some adventures, and am close to putting it away for now until the next build, but it could be very Interesting. I would set it up to use the Vera http API first and then add support for Z-Wave, MySensors, then Insteon.
  • Send intent?

    2
    0 Votes
    2 Posts
    1k Views
    Moshe LivneM
    @Cliff-Karlsson see this thread http://forum.mysensors.org/topic/1607/safe-in-wall-ac-to-dc-transformers regarding inwall 220->5v. Its not trivial and it is dangerous. If you are not sure what you are doing you better get zwave or x10 inwall switches. BTW, will the switches do anything other than sending the intents? you can maybe make the switches "fake" on battery power. just sending signals a few times a day a battery should last over a year.
  • Network discovery sequence ?

    7
    0 Votes
    7 Posts
    3k Views
    JohnJ
    The first one is the presentation name of the sketch on the remote node With the second one the 0 is just an arbitrary character as I_CONFIG is just a request to the controller to send back imperial or metric The last one are the version numbers of the library on the remote node. Take a look at: http://www.mysensors.org/download/serial_api_14 it all is explained there ;)
  • Aeon Labs Z-Stick?

    9
    0 Votes
    9 Posts
    4k Views
    Moshe LivneM
    @JoeStrout I tried several home automation systems with zwave. Mist failed miserably, especially with aeon labs 4 in one device. The only one that worked "out of the box" was domoticz. Give it a try....
  • Recommendation for Controller

    14
    1 Votes
    14 Posts
    7k Views
    R
    Wow... you weren't kidding about the turnaround time. Fix will be going into next beta release. +1 for Domoticz...
  • Some guidance neede...

    5
    0 Votes
    5 Posts
    2k Views
    barduinoB
    Thanks hek, I'll look around the code. I've been also looking at the nodeJS controler on https://github.com/mysensors/Arduino/blob/development/NodeJsController/NodeJsController.js Cheers
  • Sending serial commands to sensors

    arduino raspberry pi openhab serial
    9
    0 Votes
    9 Posts
    5k Views
    T
    @Chester good point, but I was restarting the arduino and still couldn't get this to work correctly. Also, the missing "end" was just missed out of the paste here, it was in my code.
  • Doubts about sensor types versus variable types

    7
    0 Votes
    7 Posts
    3k Views
    M
    @hek [quote]The main reason for the current variable-types has a Vera-controller legacy. It is simply 1-1 mapping to their devices/variables.[/quote] I was knocking my head to the wall to understand why you guys have done this that way. What I'm doing on my controller is to create database tables that will group and relate those variable types to what should be displayed on the user interface. Thanks for the help. I think I can go ahead, but some sensor types are still not clear to me. @Heinz This is what I thought since I started looking at this stuff.
  • Own controller

    2
    0 Votes
    2 Posts
    2k Views
    ChaoticC
    If you are running MQTT there is a gateway that supports that or if you can read serial input you could use the serial gateway. You would probably want to look at the Serial protocol and the Full API
  • simple but effective controller???

    2
    0 Votes
    2 Posts
    2k Views
    FotoFieberF
    More and more solutions for home automation are popping up. Neither do I like all this proprietary solutions which try to integrate everything. My first attempt with home automation based on fhem which is a really nice software. I could do everything I needed. But it is a monotlith with many dependencies and seemed to be a dead end for me. My I actual setup is grouped around the MQTT protocol. This is an open protocol and I can attach what I like in a really simple way: HomeMatic components with homegear MySensors with MQTT client gateway edgerouter with my own script OpenHAB PI2 FritzBox NetAtmo In OpenHab I do not map MQTT topics, as I do not like direct dependencies between nodes and the UI. I opened up the OpenHab bus to MQTT instead. With this approach I can have multiple UIs with different technologies synchronized. In this setup, message routing and transformation is very important and I do this with node-red. node-red does message routing messge transformation persistance of messages visualizations (simple UIs) websocket access to data from all the home automation components With OpenHAB 2.0 they will try to integrate more and more technologies with wizards. I hope, this will not make it to complicated to setup a simple, general approach, like I do have.
  • Install your own controller on cheap android tvbox

    12
    0 Votes
    12 Posts
    6k Views
    M
    The TV box you are talking about is pretty much like the Cubieboard2, which is also an A20 processor, except the cubieboard2 has 1GB of DDR3 memory. I use a Cubieboard3, also known as a Cubietruck, which is an A20 dual core 1Ghz with 2GB of DDR3 memory. The Cubietruck runs Cubuntu server, on this I run openHAB, Node,js, Node-RED and Mosquitto server. I have the MySensor serial Gateway connected to the USB port of my Cubietruck and node-red handles all the incoming serial messages and parses them to an MQTT format, and the other way around it takes MQTT message and parses them to a MySensor serial format and sends it the serial gateway. I also have a 128GB SSD attached to it and use it as a NAS for my 3 OpenELEC media center servers running on Raspberry Pi's and I also have some Raspberry Pi's with PiCams that stream mjpeg videos to the NAS. It works like a charm all in one little package. I have been documenting my installation and configuration progress, one day when I have more time I will put it up somewhere. Regards, Mike
  • Controller Code that Demonstrates Integer Parsing

    10
    0 Votes
    10 Posts
    4k Views
    BulldogLowellB
    Just assigning a C string to the char array, of length 23. Simulating the message you receive.
  • How data are coded to Controllers

    4
    0 Votes
    4 Posts
    2k Views
    hekH
    @plinioseniore The nodes send one or more presentation messages (usually at startup) . It is up to the controller to use these as a hint on how to present the sensor/actuator information at a later stage. The serial protocol doesn't specify how the messages should get delivered to the final destination. It is possible to ask for an ack message though.
  • UNO W5100 Shield not pinging.

    11
    0 Votes
    11 Posts
    9k Views
    snuppesnoS
    Thanks MatrixIII, I was just about to give up on my Ethernet-gateway when I found this thread, you saved my day too! :satisfied: I just downloaded the Ethernet-gatewaysketch from mysensors, isn't this problem supposed to be solved or did I download from wrong place?
  • NodeJs controller install error

    7
    0 Votes
    7 Posts
    3k Views
    V
    Can't the npm install here (in the nodejs controller) and npm used for nodeRED be combined to get the best result for MySensors Controller? Now comes the more difficult question but a more interesting one: Has this been done by somebody who's ready to share the artifacts in this open domain?
  • 0 Votes
    17 Posts
    11k Views
    gaduG
    @TommySharp Hmm dont really remember, but I think this was the solution https://github.com/knolleary/pubsubclient/issues/46
  • Controllers and Graph

    9
    0 Votes
    9 Posts
    4k Views
    N
    Wait we can(relatively easily?) tie our Vera data to Plot.ly? How did I miss that??
  • NRF24l01+ directly on Raspberry Pi ?

    8
    1 Votes
    8 Posts
    5k Views
    A
    Well, it don't want to compile. $ make g++ -Wall -fPIC -Ofast -mfpu=vfp -mfloat-abi=hard -mtune=arm1176jzf-s -march=armv6zk -D BCM2835_PERI_BASE=0x -c RF24.cpp In file included from /usr/include/stdio.h:927:0, from ./RF24_config.h:24, from RF24.cpp:17: /usr/include/arm-linux-gnueabihf/bits/stdio.h: In function ‘int vprintf(const char*, __gnuc_va_list)’: /usr/include/arm-linux-gnueabihf/bits/stdio.h:37:58: sorry, unimplemented: Thumb-1 hard-float VFP ABI
  • A simple controller

    2
    0 Votes
    2 Posts
    2k Views
    GuyPG
    openhab, openhab.org is open source, easy to setup and will do all you want.
  • Raspberry GPIO NRF24l01+ make error

    21
    0 Votes
    21 Posts
    11k Views
    B
    Thanks.. Looked again today and it has calmed down.. Maybe it's just at start-up before there are any messages received or maybe something reading the Serial Port.

10

Online

11.7k

Users

11.2k

Topics

113.0k

Posts