Navigation

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

    Posts made by clio75

    • RE: MySensors 2.2.0 released

      @korttoma
      Hi,
      I switch "CommFailure" to 0 And reloaded engine. and error measure disappear.

      But is this a new feature that you have implemented ?

      posted in Announcements
      clio75
      clio75
    • RE: MySensors 2.2.0 released

      Hi,
      Thanx for 2.2.0
      But I have a new feature that I did not have before.
      I'm using VERA edge and my plugin reports that i don't have any connection to the Gateway.
      0_1518270404898_82497ebf-a332-4088-aa24-6bc7aa86fe40-image.png

      Please advice 🙂

      posted in Announcements
      clio75
      clio75
    • RE: How to get NODE_ID

      @hek
      Thanx Again,
      I think I was on that page 3-4 time without seeing getnodeid()
      : )

      posted in Troubleshooting
      clio75
      clio75
    • RE: How to get NODE_ID

      Thanx @hek

      Where do I find these definitions and functions ?
      Is there a list somewhere ?

      posted in Troubleshooting
      clio75
      clio75
    • How to get NODE_ID

      Hi,

      I'm looking for a way to get the NODE_ID.
      In lib 1,5 this was defined as MY_NODE_ID AUTO..

      But in LIB 2,0 I can't find any defenitions like this.
      I have tried to write out MY_NODE_ID but it only return 255,

      I like to use it as a delay for my heaters. I don't like them all to be turned on at the same time. Thanx

      posted in Troubleshooting
      clio75
      clio75
    • RE: Get Temperature from other nodes(through VERA).

      Hi @korttoma,

      Just an other question,
      II'm also using PLEG.
      Is there a way to compeer the last value against the new value and only IF these values are different we sending a this new value.

      some thing like :
      local temp = luup.variable_get("urn:upnp-org:serviceId:TemperatureSensor1","CurrentTemperature", 35)
      local oldTemp = luup.variable_get("urn:upnp-org:serviceId:TemperatureSensor1","VAR_1", 14)
      if temp != oldTemp then
      luup.call_action("urn:upnp-arduino-cc:serviceId:arduino1", "SendCommand", {radioId="14;2", variableId="VAR_1", value=temp}, 3)
      end
      Thanx

      posted in My Project
      clio75
      clio75
    • RE: Get Temperature from other nodes(through VERA).

      @korttoma
      Thanx this is working perfect.

      posted in My Project
      clio75
      clio75
    • RE: Get Temperature from other nodes(through VERA).

      @korttoma

      Thanx, I will Try again this afternoon 🙂

      posted in My Project
      clio75
      clio75
    • RE: Get Temperature from other nodes(through VERA).

      hi @korttoma

      Thanx for your suggestion, But I was not able to figure out where to insert this LUA code.

      Thanx

      posted in My Project
      clio75
      clio75
    • Get Temperature from other nodes(through VERA).

      Hi,

      I'm have started to plan a irrigation controller(Thanx @petewill).
      But I need to get the temperature from my sensors to my controller. I have not been able to do this 😞

      My plan was to read this out from my vera controller, but cant find any way to do this.
      Does anyone have a advice or idea to do this ?

      I'm using the V2.0.0, of library.
      I have tried to use the
      request(tempNode_ID, V_TEMP) But no replay from VERA.
      To store/update the "setTemp" I'm using the V_VAR1 on the and this is returned from VEAR.

      So Is this possible or not ?

      Thanx

      posted in My Project
      clio75
      clio75
    • RE: Heartbeat error ?

      @korttoma
      😢 I did not see that 😢
      Is there any plan for implementing this ?

      posted in Bug Reports
      clio75
      clio75
    • Heartbeat error ?

      Hi,

      I have a relay node that don't have any sensors, and therefore don't have communication between the vera and the node. like this 0_1476877480815_upload-2c34fc65-9174-4f19-8dcb-9a2ea935b695

      So I have been playing with heartbeat and I cas see in serial log local on the node that it is transmitted.

      BUT my node in VERA dont update the last update time : Is tyhis how is sopose to be or do I something wrong?

      Here are my code :

      /**
       * The MySensors Arduino library handles the wireless radio link and protocol
       * between your home built sensors/actuators and HA controller of choice.
       * The sensors forms a self healing radio network with optional repeaters. Each
       * repeater and gateway builds a routing tables in EEPROM which keeps track of the
       * network topology allowing messages to be routed to nodes.
       *
       * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
       * Copyright (C) 2013-2015 Sensnology AB
       * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
       *
       * Documentation: http://www.mysensors.org
       * Support Forum: http://forum.mysensors.org
       *
       * This program is free software; you can redistribute it and/or
       * modify it under the terms of the GNU General Public License
       * version 2 as published by the Free Software Foundation.
       *
       *******************************
       *
       * REVISION HISTORY
       * Version 1.0 - Henrik Ekblad
       * 
       * DESCRIPTION
       * Example sketch showing how to control physical relays. 
       * This example will remember relay state after power failure.
       * http://www.mysensors.org/build/relay
       */ 
      
      // Enable debug prints to serial monitor
      #define MY_DEBUG 
      
      // Enable and select radio type attached
      #define MY_RADIO_NRF24
      //#define MY_RADIO_RFM69
      
      // Enable repeater functionality for this node
      // #define MY_REPEATER_FEATURE
      
      #include <SPI.h>
      #include <MySensors.h>
      
      #define RELAY_1  3  // Arduino Digital I/O pin number for first relay (second on pin+1 etc)
      #define NUMBER_OF_RELAYS 2 // Total number of attached 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
       long double last_heartbeat_time = millis();
       long double HEARTBEAT_TIME = 120000;
      
      
      void before() { 
        for (int sensor=1, pin=RELAY_1; sensor<=NUMBER_OF_RELAYS;sensor++, pin++) {
          // Then set relay pins in output mode
          pinMode(pin, OUTPUT);   
          // Set relay to last known state (using eeprom storage) 
          digitalWrite(pin, loadState(sensor)?RELAY_ON:RELAY_OFF);
        }
      }
      
      void setup() {
      }
      
      void presentation()  
      {   
        // Send the sketch version information to the gateway and Controller
        sendSketchInfo("Relay", "1.0");
      
        for (int sensor=1, pin=RELAY_1; sensor<=NUMBER_OF_RELAYS;sensor++, pin++) {
          // Register all sensors to gw (they will be created as child devices)
          present(sensor, S_LIGHT);
        }
      }
      
      
      void loop() 
      {
        long double temp = (millis() - last_heartbeat_time);
        if (temp > HEARTBEAT_TIME) {
        // If it exceeds the heartbeat time then send a heartbeat
        sendHeartbeat();
        last_heartbeat_time = millis();
        
        #ifdef MY_DEBUG
          Serial.print("Sent heartbeat" );
          Serial.println(temp)
        #endif
      }
      }
      
      void receive(const MyMessage &message) {
        // We only expect one type of message from controller. But we better check anyway.
        if (message.type==V_LIGHT) {
           // Change relay state
           digitalWrite(message.sensor-1+RELAY_1, message.getBool()?RELAY_ON:RELAY_OFF);
           // Store state in eeprom
           saveState(message.sensor, message.getBool());
           // Write some debug info
           Serial.print("Incoming change for sensor:");
           Serial.print(message.sensor);
           Serial.print(", New status: ");
           Serial.println(message.getBool());
         } 
      }
      
      posted in Bug Reports
      clio75
      clio75
    • RE: Best or any way to get battery before regulator

      If you are using the internal ref 1.1 you need to divide the voltage on the pin down to this level.
      If you like in the example using a 1M and 470K you will have a approx 1Volt in the point.

      posted in Hardware
      clio75
      clio75
    • RE: How to include the battery measurement?

      @tlpeter said:

      if (oldBatteryPcnt != batteryPcnt) {
      // Power up radio after sleep
      send(msgBatt.set(batteryV, 1));
      //sendBatteryLevel(batteryPcnt);
      oldBatteryPcnt = batteryPcnt;
      }

      Hi, This part should not have been updated

      this part is icluded in the lib
      So leave it like the exsample
      if (oldBatteryPcnt != batteryPcnt) {
      // Power up radio after sleep
      sendBatteryLevel(batteryPcnt);
      oldBatteryPcnt = batteryPcnt;
      }

      For sending over your voltage you need one additional

      send(msgBatt.set(batteryV, 1));

      Good luck

      posted in Troubleshooting
      clio75
      clio75
    • RE: DHT sketch version 2.0.0 error [solved]

      Hi @bisschopsr
      I got this error when i'm using this lib
      0_1476722804472_upload-fff536fa-e6c8-498c-b881-e4a96da10b64

      Any Idea. I'm using IDE 1.6.12. new install and Installed Mysensor through the Manage library. My sensor is working (updated my gw and other sensors, but can't upgrade my DHT sensors.
      Thanx for your help

      posted in Hardware
      clio75
      clio75
    • RE: My Sesnor DHT - can't upload to Uno

      @robertmt Yes I have similar problems 😕
      But have not had the time to look into this yet.
      Hopefully later today (or maybe closer to the weekend)

      posted in My Project
      clio75
      clio75
    • RE: Nano on Battery(Programming problem)

      I was not able to upload a sketch with "arduino as ISP" so I whent back to my orginal idea to use a FTDI232(like I use for microPro).

      I looked into the schematic on the nano and the micro. I found that on the micro the DTR pin there is a capacitor between reset and DTR input.. But the reset pin on the Nano did not. So I modified one FTDI232 with a capacitor 0,1uF (See picture).

      0_1475261114646_upload-7dd5f974-3c47-4f1c-9813-0116635d687d

      When I also crossed the TX/RX pins it finally works 👍

      posted in Hardware
      clio75
      clio75
    • RE: Nano on Battery(Programming problem)

      OK, I will Try again 🙂
      Thanx

      posted in Hardware
      clio75
      clio75
    • RE: Nano on Battery(Programming problem)

      @sundberg84,
      Is it possible to use an arduino to program a sketch into an other arduino ?

      I can program a bootloader, but don't see a way to upload a sketch
      Thanx

      posted in Hardware
      clio75
      clio75
    • RE: Nano on Battery(Programming problem)

      Yes That's correct 😄
      I can try this now 💃

      Thanx

      posted in Hardware
      clio75
      clio75
    • Nano on Battery(Programming problem)

      Hi,

      Due to a wrong order I have a lot of nano that I need to use.
      SO I trying to get the nano to work on battery. These have the ch340 chip and this chip is using approx 20 mA in standby.
      So I removed the CH340 and the voltage regulator.

      I tried to program the nano with the USB->serial(ftdi232) that I used for mini but with no success.
      If anyone have idea how to program a nano without the usb interface I like to hear you 🙂
      Thanx

      posted in Hardware
      clio75
      clio75
    • RE: Ultra-slim NRF24L01

      @Yveaux Thanx for your advice 🙂

      posted in Hardware
      clio75
      clio75
    • Ultra-slim NRF24L01

      Hi,
      Have anyone tried these units ?
      Can these be used with mysensor ?

      http://www.aliexpress.com/item/Free-Shipping-10pcs-lot-Similar-NRF24L01-2-4G-wireless-module-DIP-Spacing-2-54/32534228299.html?spm=2114.30010308.3.10.n6Xu53&ws_ab_test=searchweb201556_0,searchweb201602_4_10057_10056_10055_10037_10049_10059_10032_10058_10017_10060_10061_10062_10064,searchweb201603_4&btsid=1cd42b00-c486-487c-815a-ce69937421ef

      posted in Hardware
      clio75
      clio75
    • RE: Wirsbo/Uponor thermostat replacement

      Hi,
      Nice project. I have started similar "upgrade".
      But my plan is to have separate temp/humidity sensors that reports to the VERA.
      And then have a separate controller that open/close the valves/attenuators.
      Now I have some sensors connected. My next step is to create one arduino/MySensor PID controller.
      This should get actual temp and setpoint from VERA.

      For a fallback I have some Ideas.

      • Use some Pre Programmed settings.
      • Last PID settings
      • Get information directly from each sensor. (setup from VERA)

      Looking forward to follow your project 🙂

      posted in My Project
      clio75
      clio75
    • RE: Sending Variables to a arduino switch

      @sundberg84
      Thanx for your reply,

      Do you know where I can find one example for getting variables from Vera ?
      I have tried searching, but can't seem to find any 😞
      Thanx

      posted in Vera
      clio75
      clio75
    • RE: Sending Variables to a arduino switch

      @sundberg84
      Can your code be used on 1.5.1 ??
      I need to get Temp Values from Vera. to my PID controller

      posted in Vera
      clio75
      clio75
    • RE: IR Record and Playback module

      😹 👍

      posted in My Project
      clio75
      clio75
    • RE: Vera Edge

      @csa02221862
      I have Vera Edge working with serial Gateway.
      Mainly reading 4 temperature/humidity nodes and turning on and of my bathroom ventilation.
      Mode Nodes to come in near future 😉

      The setup seams find to me

      posted in General Discussion
      clio75
      clio75
    • RE: Mini Pro with high Baudrate

      @tbowmo
      I checked yesterday, and you was right. this was a 16MHz.

      Thanx 🙂

      posted in Troubleshooting
      clio75
      clio75
    • RE: Mini Pro with high Baudrate

      Well that's the problem. 😃
      I don't have asked for this, and I'm using the same sketch(humidity from mysensor) on two other mini pro. these are working on 115200 and with the same type of sensor.

      I made 2 more of my humidity /temp sensor for my living room and kitchen, and they are duplicate of the one I have in my two bathrooms.
      But when i connec to the serial interface I need to select 230400 baud to have readable characters. These two last don't read the sensor ether .
      If I borrow one of the previus mini pro in the new assabled HW it works like a charm. So I belive it is some HW error or fuse settings on the arduino.

      All 4 was programmed with the same sketch, same IDE and same Mysensor lib, with 2 weeks difference. I have as far as I can see don't nothing to the computer or software.
      Is there any fuses that is wrong ?
      Can it be the oscillator that is wrong/higher frequency ?
      Is there something I can try to make this work correct ?
      Thanx

      posted in Troubleshooting
      clio75
      clio75
    • Mini Pro with high Baudrate

      Hi,

      I have 2 mini pro that have serial baud on 230400. These can not find my DHT22 sensor ether. I belive that these symtoms are leleated.
      When replace the mini pro with with one that replys on the correct baudrate 115200 it finding the sensor.

      Anyone that have experienced anything like this and what can I do to solve this ??
      Thanx

      posted in Troubleshooting
      clio75
      clio75
    • RE: Vera UI7 What if a sensor is not reporting?

      I agree. I like a warning if some node is not responsive.

      posted in Vera
      clio75
      clio75
    • RE: SMS enabled Gateway?

      I like to have a sms/ call functionality 🙂

      posted in Development
      clio75
      clio75
    • RE: Can't detect device Error

      Thanx

      That did it 🙂

      posted in Troubleshooting
      clio75
      clio75
    • RE: Can't detect device Error

      I will try.
      Do I need to erase the files I uploaded or will these be overwrited ?

      posted in Troubleshooting
      clio75
      clio75
    • Can't detect device Error

      Hi,

      Thanks for this great plugin and Library.

      Yesterday I connected My Serial GW and One Node with DHT22(One Temp And one Humidity) These are OK and showing correct in Vera.
      But the plugin is always showing the following error :
      upload-98dbfe68-989b-4ea4-89b8-dd3cd96c194e

      Can anyone help me figure out what this is
      I'm Using 1.6.5 Arduino and 1.5 MySensor lib. Downloaded plugin from your website Yesterday(2015-09-07)
      Controller is a VERA EDGE And I asume it has UI7

      I also Noticed that I don't have this mysensor picture
      upload-03fae0b0-b8e7-4b85-bbb2-86617fc00774
      can it be something with my install ??

      Or must I use the UI7 Branch ?

      Thanx

      posted in Troubleshooting
      clio75
      clio75
    • RE: multiple DS18D20 does not report temperature

      Hi,

      I have the same problem. No temperature is transported to GW.
      This log is from Sensor:
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      sensor started, id=255, parent=0, distance=1
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:

      I have added some exstra lines in serial printout so I know that ds1820 is found and read.

      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      sensor started, id=255, parent=0, distance=1
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      **Sensors found
      1
      **req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      temp :
      23.80

      But This value is not transported to GW.
      Any idee ?

      Thanx

      posted in Troubleshooting
      clio75
      clio75