Navigation

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

    Posts made by mickaelh51

    • RE: MySensors nodes with Ethernet interface only

      Hi,
      I'm sorry. I didn't test this method yet.

      I have no time 😞

      If you find the solution, please tell me.

      thanks

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: MySensors nodes with Ethernet interface only

      It's very good @hek !
      thanks for your answer.

      posted in My Project
      mickaelh51
      mickaelh51
    • MySensors nodes with Ethernet interface only

      Hi all,
      I use my arduino network with ethernet interface and MQTT protocol.
      Now, I want to use the same hardware but with MySensors + MQTT (no gateway role).

      Is it possible to use mysensors with no NRF24 or RFM69 ?

      when I test I had this issue:

      Radio init failed. Check wiring.
      

      normal ... but is there an option to do this ?

      thanks in advance

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz

      yes,
      I'm going to ask 😉

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz

      Hi @hek
      In ebay pictures you can see 433Mhz receiver...
      screenshot-www ebay fr 2016-01-10 21-02-17.png

      is it the same no ?
      433.jpeg

      posted in My Project
      mickaelh51
      mickaelh51
    • livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz

      Hi all,
      someone has already use livolo Glass Panel Touch Light Wall Switch (or livolo like) ?
      I found a arduino library to work with it, but I'm not sure switch below is a 433Mhz compatible:

      http://www.ebay.fr/itm/1-2-Gang-Luxury-Crystal-Glass-White-Panel-Touch-Remote-LED-Home-Light-Switch-WT-/191733281508?var=&hash=item2ca431b2e4â“‚m1mrBR79UU2TK5oqUF7AxrA

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: issue with V_TEXT sensor type

      I'm sorry for that 😉
      It works perfectly after the library update

      thank you very much @sundberg84

      posted in Bug Reports
      mickaelh51
      mickaelh51
    • RE: issue with V_TEXT sensor type

      Thanks @sundberg84
      I'm going to update my library now !

      I will tell you if it works

      posted in Bug Reports
      mickaelh51
      mickaelh51
    • issue with V_TEXT sensor type

      Hi all,
      I'm playing with LCD screen. I want to display in my LCD a string from my mqtt broker.
      Ex:
      OpenHAB --> MQTT Broker --> MQTT Gateway --> LCD (directly connected on gateway)

      I can send a message Ex: "TEST_LCD_1_MIKA_COOL":
      Result:

      0;0;3;0;9;Message arrived on topic: mygateway1-in/0/3/1/V_TEXT/47
      Incoming msg DATA: TEST_LCD_1_MIKA_COOL
      

      but when I send a shorter message Ex: "TEST_LCD_2_SUPER"

      0;0;3;0;9;Message arrived on topic: mygateway1-in/0/3/1/V_TEXT/47
      Incoming msg DATA: TEST_LCD_2_SUPERCOOL
      

      We can see that message.getString is false. It adds the end of the last string on this new string.

      buffer not empty ?

      My conf:

      void receive(const MyMessage &message) {
        // We only expect one type of message from controller. But we better check anyway.
        if (message.type==V_TEXT && message.sensor == LCD_CHILD) {
          lcd.clear();
          Serial.print("Incoming msg DATA: ");
          lcd.print("Incoming msg DATA: ");
          lcd.setCursor ( 0, 1 );
          Serial.println(message.getString());
          lcd.print(message.getString());
         } 
      }
      

      can you help me please ?

      Thanks in advance

      posted in Bug Reports
      mickaelh51
      mickaelh51
    • RE: Arduino Library for Oregon sensors (433Mhz)

      Just for fun : https://youtu.be/2Um5PQ_tZXA

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: Arduino Library for Oregon sensors (433Mhz)

      Arduino has accepted my library 😉
      it available in libraries manager on the arduino IDE

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: Arduino Library for Oregon sensors (433Mhz)

      First version of my official arduino library : https://github.com/Mickaelh51/Arduino-Oregon-Library

      I asked at Arduino software to put this new library (1.5 arduino format) in their official "libraries manager" ==> https://github.com/arduino/Arduino/issues/4371

      If they ok to include my library, the arduino IDE will be able to check the available updates.

      This 1.0.0 version has been tested with : Arduino UNO / 433Mhz receiver / Oregeon sensor THGR228N.

      I'm already working on developement github branch with many enhancements.
      Ex: Data Checksum / Others sensors (OWL Electricty Meter / WGR918 Annometer / RGR918 Rain Guage / UV138 / THGR918 Outside Temp-Hygro / BTHR918 Temp-Hygro-Baro)

      if you want to test master or developement branch, I'm free to discuss with you.

      good playing 😉

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: How to see the sensors registered on gateway

      hi @Sparkman
      I use Openhab.

      But "presentation" function is used for what ? Is it just for the gateway sends the correct type ID ?

      posted in General Discussion
      mickaelh51
      mickaelh51
    • How to see the sensors registered on gateway

      Hi list,
      I'm looking for a way to see all registered sensors on gateway.
      Ex:

      1. Sensor:0 / V_TEMP / node: 10 / ....
      2. Sensor:1 / V_HUM / node:2 / ....

      can I send a specific MQTT message (if MQTT gateway) to receive a complete list ? A local software ? A web frontend ?

      thanks in advance

      posted in General Discussion
      mickaelh51
      mickaelh51
    • RE: Arduino Library for Oregon sensors (433Mhz)

      Hi, I finished my first complete library Oregon.h with 2 examples (1 with MySensors / 2 without MySensors).

      I will test it next week and I will post it here.
      After many tests I post a pool request in official mysensors project on github.

      Did you have time to test the first version ?

      thanks in advance

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: which hardware model must to be used for ethernet gateway ?

      ESP8266 is faster than W5100 ok thanks.
      but if I want work with ethernet only ?

      posted in Hardware
      mickaelh51
      mickaelh51
    • RE: which hardware model must to be used for ethernet gateway ?

      Hi,
      No problem 😉

      I have only 3 sensors in test. But with this nodes I feel my gateway is low.
      When I send an order from MQTT (Ex "On" command to specific relay), it's not in real time (few seconds to execute this order).

      But when I shutdown 2 nodes / 3. I saw the same order seems faster.

      So, my question is: Is there a recommendation for gateway hardware ?

      thanks and happy new year 2016 😉

      posted in Hardware
      mickaelh51
      mickaelh51
    • which hardware model must to be used for ethernet gateway ?

      Hi,
      Actually I'm using an Arduino UNO to be the ethernet (MQTT) gateway.
      But, I feel that Arduino UNO is too low when there is many sensors.

      Do you have an experience with UNO or MEGA to be a MQTT Gateway ?
      which hardware to choose ?

      thanks in advance

      posted in Hardware
      mickaelh51
      mickaelh51
    • RE: Arduino Library for Oregon sensors (433Mhz)

      Ok thanks.
      I will do some enhancements before post my pool request.

      bye

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: Arduino Library for Oregon sensors (433Mhz)

      @hek thanks for your answer.

      If I understood, I can use save & load state if:

      1. I start the ID from EEPROM_LOCAL_CONFIG_ADDRESS
        Ex:
      for (i=EEPROM_LOCAL_CONFIG_ADDRESS; i<COUNT_OREGON_SENSORS; i++){
      
      1. I write <255 bytes

      is it exact ?

      thanks in advance

      PS (10 mins after):
      I don't understand, indeed with this variable:

      EEPROM_CONTROLLER_CONFIG_ADDRESS (EEPROM_ROUTES_ADDRESS+256)
      

      we are beyond the maximum ID (255) no ?

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: Arduino Library for Oregon sensors (433Mhz)

      Ha @hek I use EEPROM memory writing like database of Oregon's IDs.
      But your framework use also EEPROM memory.
      there is a potential issue (coflict) between them ?

      if yes, what other library can I use ? I'm thinking at that: http://playground.arduino.cc/Code/StackArray

      thanks in advance

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: Arduino Library for Oregon sensors (433Mhz)

      you're welcome 😉
      it's not finish,but after my vacations, I will finish it 😉

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: Arduino Library for Oregon sensors (433Mhz)

      there is this issue when I want "verify code" in codebender (see below), but with arduino soft 1.6.7 it works fine

      MySensors_433Mhz_Oregon.ino:66:19: error: use of undeclared identifier 'digitalPinToInterrupt'
      

      CodeBender version

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: Arduino Library for Oregon sensors (433Mhz)

      Just before my vacations, I added some features 😉

      • Auto discover Oregon sensors ID
      • Save ID on Arduino EEPROM
      • Add battery level to MySensors

      My GitHub: https://goo.gl/x4ifu4

      Results on My OpenHAB
      oregon_openhab.png

      posted in My Project
      mickaelh51
      mickaelh51
    • Arduino Library for Oregon sensors (433Mhz)

      Hi,
      I developed (modify) the originale Oregon library to be able to decode these sensors and send results in MySensors.
      Tested with : THGR228N and THGN132N
      It's a beta version ... many enhancements must be necessary, but it works
      https://goo.gl/x4ifu4

      your comments are welcome 😉

      posted in My Project
      mickaelh51
      mickaelh51
    • RE: Monitoring node sensors down / Nagios

      Thanks @sundberg84,
      I'm already using this method with openhab 😉
      I will be continue to use it.

      posted in Feature Requests
      mickaelh51
      mickaelh51
    • RE: Monitoring node sensors down / Nagios

      Thanks @mfalkvidd
      it's possible to parse many informations from gateway, it's a good new.
      For Nagios plugin, it's no a problem I'm going to develop one 😉

      My question is: when a node sensor is down, my mqtt broker have in own memory the last data and it dont know that sensor is down 😞

      is there a mysensors "ping" like between sensor nodes and gateway ?

      thanks in adavance

      posted in Feature Requests
      mickaelh51
      mickaelh51
    • Monitoring node sensors down / Nagios

      Hi,
      I'm looking for a solution to monitor when a node sensor is down (power outage, etc ...).
      Is there a list of node connected to gateway (MQTT gateway) ?

      Ex:
      Nagios script checks MQTT broker (Mosquitto) with special command, Mosquitto forwards this command to MQTT gateway (GatewayW5100MQTTClient) and gateway send a list of available nodes connected.

      it's already exist ?

      thanks in adavance

      posted in Feature Requests
      mickaelh51
      mickaelh51
    • RE: Publish --> MQTT Gateway very slow

      HAAAAAAAAAAAAAAAAAA !!!!!! pffffffffffff !!!!
      so noob I am 😞

      it's work now !

      I have a lot of arduino in my network, and there are diffrent MAc address => normal !
      But in arduino with my sensor there wasn't MY_MAC_ADDRESS defined.
      and... two arduino with the same MAC (default MAC) ... pffff ==> doesn't work fine!!!!

      now it's work perfectly ! I'm sorry for you waste time !

      thanks !

      posted in Troubleshooting
      mickaelh51
      mickaelh51
    • RE: Publish --> MQTT Gateway very slow

      @robosensor openhab is located on a proxmox server (it's a container).
      Openhab server: 172.16.13.237/24 --> MQTTGateway: 172.16.13.145/24
      I have many others sensors on arduino that are using MQTT directly (Not mysensors Framework) and they're ok and fast 😉
      I think, the MQTT gateway is very slow at some moments and it don't process MQTT messages received (as you can see in my youtube video).
      but at some others moments it can process this messages

      For your information, MQTT message is slow before incomingMQTT

      void incomingMQTT(char* topic, byte* payload,
                              unsigned int length)
      {
      debug(PSTR("Message arrived on topic: %s\n"), topic);
      

      Because when I send MQTT message with OpenHAB or MQTT.fx to mosquitto, it's send immediatly this message.
      After X seconds I can see in serial monitor log: "Message arrived...."

      Have you an idea ?

      thanks a lot !

      posted in Troubleshooting
      mickaelh51
      mickaelh51
    • RE: Publish --> MQTT Gateway very slow

      the results @robosensor :

      0;0;3;0;9;read: 9-9-0 s=3,c=0,t=3,pt=0,l=0,sg=0:
      0;0;3;0;9;Sending message on topic: mygateway1-out/9/3/0/0/3
      0;0;3;0;9;Ethernet transaction time: 1 ms
      

      1 ms for all received messages. indeed when sensor send temp + humidity from DHT11, the messages the messages arrive quickly to OpenHAB.
      But when I send MQTT message from OpenHAB to Gateway, it's very long (https://youtu.be/zQxLzGmCKlY).

      posted in Troubleshooting
      mickaelh51
      mickaelh51
    • RE: Publish --> MQTT Gateway very slow

      Hi,
      thanks for your answer @robosensor .
      But, I'm sorry, I don't know where add the patch in file 😞

      I patched MyGatewayTransportEthernet.cpp with your code, but I don't use ESP8266. I use W5100 + NRF24L01.
      I patched in MY_CONTROLLER_IP_ADDRESS too => no result (not debug in serial monitor)
      For me, when W5100 receive MQTT messages there is a reception problem (because MQTT server send several times the same MQTT message.
      Can you help me to write patch please 😉 ?

      thanks in advance

      FYI

      STATUS		0x0E RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
      RX_ADDR_P0-1	0x00003B3F00 00003B3F0E 
      RX_ADDR_P2-5	0xFF C4 C5 C6 
      TX_ADDR		0x00003B3F00 
      RX_PW_P0-6	0x20 20 20 00 00 00 
      EN_AA		0x3B 
      EN_RXADDR	0x06 
      RF_CH		0x4C 
      RF_SETUP	0x07 
      CONFIG		0x0E 
      DYNPD/FEATURE	0x3F 06 
      Data Rate	1MBPS
      Model		nRF24L01+
      CRC Length	16 bits
      PA Power	PA_MAX
      
      posted in Troubleshooting
      mickaelh51
      mickaelh51
    • Publish --> MQTT Gateway very slow

      Hi,
      I wrote an issue on github: https://github.com/mysensors/Arduino/issues/309
      Do you have an idea please ?

      thanks in advance

      posted in Troubleshooting
      mickaelh51
      mickaelh51