Skip to content

General Discussion

A place to talk about whateeeever you want
1.5k Topics 14.2k Posts
  • temp sensor keep on loging status switch

    10
    0 Votes
    10 Posts
    2k Views
    F
    :thumbsup:
  • Radio network questions

    5
    0 Votes
    5 Posts
    2k Views
    M
    @hek Please let me know if in v.2.1.0 the ACK is enabled by default for NRF24 or if we may enable/disable it (where?). Also I am interesting about the retain flag management from the gateway toward the mqtt broker: is it possible to manage it? How? Thank you
  • MySensors protocol page improvement recommendation

    5
    1 Votes
    5 Posts
    1k Views
    F
    also found typo V_STATUS missing S_BINARY, S_WATER_QUALITY V_LIGHT missing S_BINARY V_WATT missing S_BINARY, S_RGB_LIGHT, S_RGBW_LIGHT V_PERCENTAGE missing S_COVER V_TEMP missing S_WATER_QUALITY S_HEATER missing V_STATUS, V_HVAC_SETPOINT_HEAT S_HVAC missing V_STATUS, V_TEMP, V_HVAC_SPEED V_HVAC_SETPOINT_COLD is missing
  • Making the code boxes in the forum a bit bigger?

    3
    0 Votes
    3 Posts
    1k Views
    mfalkviddM
    @hek I see. Yes, I have had trouble finding a place to scroll so making it bigger might be bad. Better keep it the way it is.
  • simple ping check - sensor to gw

    21
    0 Votes
    21 Posts
    7k Views
    A
    @Yveaux and i suppose everyone use chinese clone now and then - thats why my SWATCH-DOG tm:dog: is vital to take over this problems. now thats my log for the placement of the node after last sketch update: 2016-12-30 10:48:19.509 MySensors: Node: 254, Sketch Name: circuitar EC H1-2ch WIT 2016-12-30 10:48:19.510 MySensors: Node: 254, Sketch Version: 1.1 WIT = WITH-WTD - cut by domoticz/mysensors if there's another disconnection, i'll post here. well, maybe i'll wait for some of them to prevent spamming.. stay tuned.
  • Send msg in background

    4
    0 Votes
    4 Posts
    1k Views
    petewillP
    @zsakul Try downloading the latest version from github. The master branch will be updated to version 2.1 very soon and I recommend waiting for that. https://github.com/mysensors/MySensors/tree/master Once you have updated you should be able to use MY_TRANSPORT_WAIT_READY_MS in your code. I have it working in my device. You could change MY_TRANSPORT_WAIT_READY_MS in the myconfig.h file but if you do it there every node you build will have this setting (which my not be desired).
  • NRF24L01 and rfm69 in one gateway

    nrf24 gateway rfm69hw
    3
    0 Votes
    3 Posts
    2k Views
    O
    @mfalkvidd oké, clear! Unfortunate. Guess a couple esp8266 couldn't hurt. 😀
  • Documentation request

    2
    0 Votes
    2 Posts
    736 Views
    mfalkviddM
    @adil-ch welcome! There is detailed documentation, and lots of it :) But there are probably areas that can be improved as well. Start with the getting started guide. Then continue with the build examples or the api documentation. If you get stuck, just post a question.
  • 12V AC dimming

    1
    0 Votes
    1 Posts
    713 Views
    No one has replied
  • How to start with Arduino and MySensors

    4
    0 Votes
    4 Posts
    2k Views
    mfalkviddM
    Yes, WAN I mean over the internet, because in my "final vision" I want to have conectend more GWs from different buildings to the same controller. So is GW<->controller comunication somehow secured? Or is better to use MQTT? Or there should be always a VPN connection for sure in safety? It is possible to connect multiple Domoticz instances, see https://www.domoticz.com/wiki/Setting_up_Device_sharing I have not tried it and I don't know how secure it it but it might be a good solution, but requires a Raspberry Pi or similar in each location. Mqtt gateway with TLS and username+password could be a good solution. VPN or ssh tunnel should work but will require extra hardware (support in router or a raspberry pi in each location). I have one more question - in manual how to make a ethernet GW is an option to choose W5100 or ENC28J60 module. Is there any significant reason why to choose W5100 when its price is almost 2x higher than ENC? Yes. If you value your time at more than 50 cents per hour :) The enc28j seems to be much less stable.
  • CO sensor gone mad

    1
    0 Votes
    1 Posts
    678 Views
    No one has replied
  • Very simple client gateway for newbs

    3
    0 Votes
    3 Posts
    936 Views
    iotearoaI
    Thanks that's exactly what I need! :)
  • Build a Cheap Z-wave Vibration sensor?

    12
    0 Votes
    12 Posts
    4k Views
    Nca78N
    If it supports ethernet gateway then it's on the same network. Else it's serial gateway and you need to be connected with USB
  • Zuckerbergs jarvis

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Farming flood light DIY - universe 720w flood light

    2
    0 Votes
    2 Posts
    794 Views
    D
    That's a tough one. There are LED replacement fixtures, but to cover the same area you'd need a very expensive one. MH lamps should not bust easily, so you have to make sure the lamp and the ballast are a match. If the ballast is for a bigger lamp, yours gets an ass whooping every time it starts, dramatically diminishing it's life. For large areas, MH will provide the most efficient way to light the lot up. But make sure the fixture and lamp are a perfect match. There are LED replacements, but those units cost an arm and a leg. Cheaper China alternatives will be more expensive in the long run, because they don't run efficient, and fry a lot because of poor thermal design. My 2¢: get a replacement MH lamp. Maybe adjust your lighting schedule a little to keep the lamps to live longer; less starts per day, and keep lighting hours to a minimum. Good luck!
  • How to access Uservariables (Domoticz)

    6
    0 Votes
    6 Posts
    3k Views
    P
    Ok, Thanks Guy's thats what i needed! I'll create a dummy sensor and use that for I/O.
  • send updates regularly in noides HOW ?

    5
    0 Votes
    5 Posts
    2k Views
    pepsonP
    I dont understand and i am begginer. Can you explaine me more and give me ready solution please ? This is my actual sketch which i use: /** DESCRIPTION Sketch for 2x relay with buttons monostable. After back power all relays set OFF and send correct status OFF to controller. */ // Enable debug prints to serial monitor #define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_NRF24 //#define MY_RADIO_RFM69 // Enabled repeater feature for this node #define MY_REPEATER_FEATURE #include <SPI.h> #include <MySensors.h> #include <Bounce2.h> // Define Relays #define RELAY_ON 1 // GPIO value to write to turn on attached relay #define RELAY_OFF 0 // GPIO value to write to turn off attached relay // Define Sensor ID's #define SSR_A_ID 1 // Id of the sensor child #define SSR_B_ID 2 // Id of the sensor child // Define buttons and relays const int buttonPinA = 3; const int buttonPinB = 4; const int relayPinA = 5; const int relayPinB = 6; // Define Variables int oldValueA = 0; int oldValueB = 0; bool stateA = false; bool stateB = false; int trigger = 0; Bounce debouncerA = Bounce(); Bounce debouncerB = Bounce(); MyMessage msgA(SSR_A_ID, V_STATUS); MyMessage msgB(SSR_B_ID, V_STATUS); void setup() { pinMode(buttonPinA, INPUT_PULLUP); // Setup the button Activate internal pull-up pinMode(buttonPinB, INPUT_PULLUP); // Setup the button Activate internal pull-up // After setting up the buttons, setup debouncer debouncerA.attach(buttonPinA); debouncerA.interval(5); debouncerB.attach(buttonPinB); debouncerB.interval(5); // Make sure relays are off when starting up digitalWrite(relayPinA, RELAY_OFF); digitalWrite(relayPinB, RELAY_OFF); // Then set relay pins in output mode pinMode(relayPinA, OUTPUT); pinMode(relayPinB, OUTPUT); } void presentation() { // Send the sketch version information to the gateway and Controller sendSketchInfo("2xRelay with monostable", "1.0"); // Register all sensors to gw (they will be created as child devices) present(SSR_A_ID, S_LIGHT); present(SSR_B_ID, S_LIGHT); } /* Example on how to asynchronously check for new messages from gw */ void loop() { if (trigger == 0){ send(msgA.set(false)); // Send off state for relayA to ensure controller knows the switch is off send(msgB.set(false)); // Send off state for relayB to ensure controller knows the switch is off trigger = 1; } debouncerA.update(); // Get the update value int valueA = debouncerA.read(); if (valueA != oldValueA && valueA == 0) { send(msgA.set(stateA ? false : true), true); // Send new state and request ack back } oldValueA = valueA; debouncerB.update(); // Get the update value int valueB = debouncerB.read(); if (valueB != oldValueB && valueB == 0) { send(msgB.set(stateB ? false : true), true); // Send new state and request ack back } oldValueB = valueB; } void receive(const MyMessage &message) { // We only expect one type of message from controller. But we better check anyway. if (message.type == V_STATUS) { switch (message.sensor) { case 1: stateA = message.getBool(); digitalWrite(message.sensor + 4, stateA ? RELAY_ON : RELAY_OFF); break; case 2: stateB = message.getBool(); digitalWrite(message.sensor + 4, stateB ? RELAY_ON : RELAY_OFF); break; } // Write some debug info Serial.print("Incoming change for sensor:"); Serial.println(message.sensor); Serial.print("from node:"); Serial.println(message.sender); Serial.print(", New status: "); Serial.println(message.getBool()); } }```
  • RPI + ESP8266

    4
    0 Votes
    4 Posts
    1k Views
    mfalkviddM
    @CRF interesting. Domoticz seems to have removed support for the image. This old page had information https://www.domoticz.com/wiki/index.php?title=Domoticz_RaspberryPi_SD_Image&oldid=216&diff=prev I guess installing by running sudo curl -L install.domoticz.com | bash is the way to go nowadays.
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    40 Views
  • Am I crazy?

    13
    0 Votes
    13 Posts
    6k Views
    fernando alvarez buyllaF
    Your idea is possible you need a good case for that meaby a pelican case with clear top for the solar cell Something like this http://www.ebay.com/itm/Pelican-1050-Solid-Black-Micro-Case-with-Free-engraved-nameplate-/231011576632?hash=item35c95ceb38:g:BDIAAOxyrxZR1xrC Solar panel http://www.ebay.com/itm/X-DRAGON-20000mAh-Dual-USB-Solar-Power-Bank-iPhone-6-Plus-5s-5c-5-iPad-/152078147230?tfrom=152159462026&tpos=top&ttype=price&talgo=undefined Lipo charger http://www.ebay.com/itm/2Stuck-Lipo-Lion-1S-Akku-Mini-USB-Lademodul-TP4056-fur-Solar-charger-Arduino-/171934584575?hash=item2808198eff:g:huoAAOSwsB9V~VPC Ypou need a good silicone for any hole you drill on the box and I this this will be able to do what you need

14

Online

11.8k

Users

11.2k

Topics

113.2k

Posts