Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. diggs
    3. Topics
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by diggs

    • diggs

      Running two gateways side-by-side
      General Discussion • • diggs  

      4
      0
      Votes
      4
      Posts
      1649
      Views

      diggs

      @5546dug @hek Thanks guys. Will jump in and see what happens.
    • diggs

      Remote Node Reset
      Hardware • • diggs  

      4
      0
      Votes
      4
      Posts
      4072
      Views

      diggs

      @awi @Sparkman Thanks guys, will implement these and see how it goes
    • diggs

      soil moisture sensor sketch
      Hardware • • diggs  

      3
      0
      Votes
      3
      Posts
      2215
      Views

      diggs

      @BartE Thanks for that. My issue ended up being with the signal lead from the sensor to the arduino. A bad connector. Your advice on the pull-up resistor was very useful. Thanks
    • diggs

      Random Sensor Readings
      General Discussion • • diggs  

      5
      0
      Votes
      5
      Posts
      1551
      Views

      diggs

      Thanks for the input all I might put two sensors together and see what transpires to see if I can narrow things down a bit and see if it is specifically a sensor issue or the controller.
    • diggs

      Moving Sensor Between Gateways
      My Project • • diggs  

      3
      0
      Votes
      3
      Posts
      1432
      Views

      diggs

      Thanks, I will watch out for conflicting node id's
    • diggs

      Duplicate Sensors
      Domoticz • • diggs  

      5
      0
      Votes
      5
      Posts
      1973
      Views

      diggs

      Ok, Thanks. Will give that a try
    • diggs

      Low Power Temperature Sensor
      Hardware • • diggs  

      14
      0
      Votes
      14
      Posts
      8415
      Views

      riataman

      Check the bmp180. Its a presure sensor, but it includes a fairly accurate temperature sensor and is rated down to 1.8v.
    • diggs

      Understanding the message
      General Discussion • • diggs  

      7
      0
      Votes
      7
      Posts
      2218
      Views

      diggs

      hi guys thanks all for the responses. Tis all clear now and makes sense
    • diggs

      Domoticz and MQTT Connections
      Domoticz • • diggs  

      1
      0
      Votes
      1
      Posts
      1607
      Views

      No one has replied

    • diggs

      Best Simple Display "Controller"
      General Discussion • • diggs  

      10
      0
      Votes
      10
      Posts
      3987
      Views

      John

      @diggs I expect the first usable snapshot builds at the end of this week. They are located at: http://builder.pidome.org/view/Snapshot builds/job/PiDome clients collection/ These clients are build to provide ease of use. Data aggregation and details will stay on the server.
    • diggs

      MQTT Setup - Client or Broker & Testing
      General Discussion • • diggs  

      19
      0
      Votes
      19
      Posts
      12591
      Views

      John Connolly

      @TD22057 said: @John-Connolly You may want to the try the client gateway from this thread: http://forum.mysensors.org/topic/524/mqtt-client-gateway It's a real MQTT client (point it at your Mosquitto broker) which I find easier to understand than the pseudo-broker that the MQTT gateway uses. That's EXACTLY what I need/want! Thanks! I'll give it a shot the second the new kit arrives from AliExpress...which is taking its time.
    • diggs

      Can local sensors log data?
      Hardware • • diggs  

      19
      0
      Votes
      19
      Posts
      6770
      Views

      tbowmo

      @Alexander-Voronin Yes, you can use the watchdog, and wake up periodically, but it can never be used for time critical things. For example, my sensebenders, I have them sleeping 1 minute. But it varies between 50 and 70 seconds.. So can't be used to keep track of real time..
    • diggs

      Learning 433 mhz with Domoticz
      Domoticz • • diggs  

      5
      0
      Votes
      5
      Posts
      9054
      Views

      Michel - It

      BOYS COMBINE FORCES, participate on http://forum.mysensors.org/topic/1557/combined-mysensor-gateway-with-433mhz-transmitter-homeeasy-klik-aan-klik-uit/11 because it seems to have been settled in part /** * Import the libraries needed by the Sketch */ #include <MySensor.h> #include <SPI.h> #include <RemoteTransmitter.h> /** * Declare constants like pin settings etc. */ #define TRANSMITTERPIN 6 // documentation doesn't see anything if the needs to be a PWM, but why take the risk? #define CHILD_ID_ACTION_SWITCH_A 1 // Declare the DEVICE A as a separate switch #define CHILD_ID_ACTION_SWITCH_B 2 // Declare the DEVICE B as a separate switch -- In my situation I configured all outlet's as DEVICE A, so reserved for future useage #define CHILD_ID_ACTION_SWITCH_C 3 // Declare the DEVICE B as a separate switch -- In my situation I configured all outlet's as DEVICE A, so reserved for future useage #define CHILD_ID_ACTION_SWITCH_D 4 // Declare the DEVICE B as a separate switch -- In my situation I configured all outlet's as DEVICE A, so reserved for future useage #define CHILD_ID_ACTION_SWITCH_E 5 // Declare the DEVICE B as a separate switch -- In my situation I configured all outlet's as DEVICE A, so reserved for future useage const char SYSTEMCODE = char(31); // cast the integer byte value to a char should do the trick. Adjust this to your own SYSTEMCODE see RemoteTransmitter.h /* * Declare variables */ ActionTransmitter switchTransmitter = ActionTransmitter( TRANSMITTERPIN ); unsigned long SLEEP_TIME = 5000; // the main loop will probably won't do a thing if we only attach a transmitter. MySensor gw; /* * Declare MySensors Messages */ MyMessage msgDeviceA( CHILD_ID_ACTION_SWITCH_A, V_LIGHT ); MyMessage msgDeviceB( CHILD_ID_ACTION_SWITCH_B, V_LIGHT ); MyMessage msgDeviceC( CHILD_ID_ACTION_SWITCH_C, V_LIGHT ); MyMessage msgDeviceD( CHILD_ID_ACTION_SWITCH_D, V_LIGHT ); MyMessage msgDeviceE( CHILD_ID_ACTION_SWITCH_E, V_LIGHT ); /** * Preparation code during initialization of the Arduino */ void setup() { // put your setup code here, to run once: // Serial.begin( 115200 ); gw.begin( incomingMessage ); // attach a message handler for handling commands transmitted by the controller. gw.sendSketchInfo("433Mhz bridge", "1.0"); // Send the sketch version information to the gateway and Controller gw.present( CHILD_ID_ACTION_SWITCH_A, S_LIGHT ); // Present Device A to the gateway gw.present( CHILD_ID_ACTION_SWITCH_B, S_LIGHT ); // Present Device B to the gateway gw.present( CHILD_ID_ACTION_SWITCH_C, S_LIGHT ); // Present Device C to the gateway gw.present( CHILD_ID_ACTION_SWITCH_D, S_LIGHT ); // Present Device D to the gateway gw.present( CHILD_ID_ACTION_SWITCH_E, S_LIGHT ); // Present Device E to the gateway gw.sendBatteryLevel(100); // It just looks better in Domoticz if we let Domoticz no we're running on 100% power. } /** * The Sketch's main loop. */ void loop() { // I have nothing to do if only attach a transmitter. gw.wait( SLEEP_TIME ); // call the wait routine, which will allow for incomming messages during the waiting } void incomingMessage(const MyMessage &message) { Serial.println("message"); // We only expect one type of message from controller. But we better check anyway. if (message.type==V_LIGHT) { char device = 64 + message.sensor; // translate child id to device ID. A = 65 so if we take off one and add the received sensor ID we get the correct device // Serial.println( "Command received for Device " + (String)device + " on id " + (String)message.sensor + " request to turn " + (message.getBool()?"on":"off") ); if ( device >= 'A' && device <= 'E' ) { // Impuls/Action system only allows device 'A' to 'E' switchTransmitter.sendSignal(SYSTEMCODE, device, message.getBool() ); } } }```