[Branch][beta 2.0] GW with dallas temp not sending data to domoticz



  • Hello i have problem with dallas temp sensor on my GW with LAN.

    GW read data from dallas but is not sended to domoticz

    /**
     * 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
     * Contribution by a-lurker and Anticimex,
     * Contribution by Norbert Truchsess <norbert.truchsess@t-online.de>
     * Contribution by Tomas Hozza <thozza@gmail.com>
     *
     *
     * DESCRIPTION
     * The EthernetGateway sends data received from sensors to the ethernet link.
     * The gateway also accepts input on ethernet interface, which is then sent out to the radio network.
     *
     * The GW code is designed for Arduino 328p / 16MHz.  ATmega168 does not have enough memory to run this program.
     *
     * LED purposes:
     * - To use the feature, uncomment WITH_LEDS_BLINKING in MyConfig.h
     * - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation recieved
     * - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly
     * - ERR (red) - fast blink on error during transmission error or recieve crc error
     *
     * See http://www.mysensors.org/build/ethernet_gateway for wiring instructions.
     *
     */
    
    // Enable debug prints to serial monitor
    #define MY_DEBUG 
    
    // Enable and select radio type attached
    #define MY_RADIO_NRF24
    //#define MY_RADIO_RFM69
    
    //SET POWER
    #define MY_RF24_PA_LEVEL RF24_PA_MAX
    
    // Enable gateway ethernet module type 
    #define MY_GATEWAY_W5100
    
    // W5100 Ethernet module SPI enable (optional if using a shield/module that manages SPI_EN signal)
    //#define MY_W5100_SPI_EN 4  
    
    // Enable Soft SPI for NRF radio (note different radio wiring is required)
    // The W5100 ethernet module seems to have a hard time co-operate with 
    // radio on the same spi bus.
    #if !defined(MY_W5100_SPI_EN)
      #define MY_SOFTSPI
      #define MY_SOFT_SPI_SCK_PIN 15
      #define MY_SOFT_SPI_MISO_PIN 17
      #define MY_SOFT_SPI_MOSI_PIN 16
    #endif  
    
    // When W5100 is connected we have to move CE/CSN pins for NRF radio
    #define MY_RF24_CE_PIN 5
    #define MY_RF24_CS_PIN 6
    
    //#define MY_RF24_PA_LEVEL RF24_PA_MIN
    
    // Enable to UDP          
    //#define MY_USE_UDP
    
    #define MY_IP_ADDRESS 192,168,0,11   // If this is disabled, DHCP is used to retrieve address
    // Renewal period if using DHCP
    //#define MY_IP_RENEWAL_INTERVAL 60000
    // The port to keep open on node server mode / or port to contact in client mode
    #define MY_PORT 5003      
    
    // Controller ip address. Enables client mode (default is "server" mode). 
    // Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere. 
    //#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 254   
     
    // The MAC address can be anything you want but should be unique on your network.
    // Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use.
    // Note that most of the Ardunio examples use  "DEAD BEEF FEED" for the MAC address.
    #define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
    
    // Flash leds on rx/tx/err
    #define MY_LEDS_BLINKING_FEATURE
    // Set blinking period
    #define MY_DEFAULT_LED_BLINK_PERIOD 300
    
    // Enable inclusion mode
    #define MY_INCLUSION_MODE_FEATURE
    // Enable Inclusion mode button on gateway
    #define MY_INCLUSION_BUTTON_FEATURE
    // Set inclusion mode duration (in seconds)
    #define MY_INCLUSION_MODE_DURATION 60 
    // Digital pin used for inclusion mode button
    #define MY_INCLUSION_MODE_BUTTON_PIN  3 
    
    #define MY_DEFAULT_ERR_LED_PIN 7  // Error led pin
    #define MY_DEFAULT_RX_LED_PIN  8  // Receive led pin
    #define MY_DEFAULT_TX_LED_PIN  9  // the PCB, on board LED
    
    #include <SPI.h>
    
    #if defined(MY_USE_UDP)
      #include <EthernetUdp.h>
    #endif
    #include <Ethernet.h>
    #include <MySensor.h>
    
    //==================================================================
    
    
    //========================================================================================================
    //DALLAS
    #include <MySensor.h>
    #include <SPI.h>
    #include <DallasTemperature.h>
    #include <OneWire.h>
    
    #define ONE_WIRE_BUS 22 // Pin where dallase sensor is connected
    #define MAX_ATTACHED_DS18B20 2
    //unsigned long SLEEP_TIME = 30000; // Sleep time between reads (in milliseconds)
    OneWire oneWire(ONE_WIRE_BUS);
    DallasTemperature sensorsDallas(&oneWire);
    
    float lastTemperature[MAX_ATTACHED_DS18B20];
    int numSensors = 1;
    boolean receivedConfig = false;
    #define CHILD_ID_DALLAS 9
    // Initialize temperature message
    MyMessage msgDallas(CHILD_ID_DALLAS, V_TEMP);
    int temperatureDallas = -300;
    
    void setup()
    {
      
    }
    
    void presentation() {
     //========================================================================================================
      //DALLLAS
      sensorsDallas.begin();
      
      numSensors = sensorsDallas.getDeviceCount();
     
      present(CHILD_ID_DALLAS, S_TEMP);
    
    }
    void loop()
    {
     
      //========================================================================================================
      //DALLAS
    
      sensorsDallas.requestTemperatures();
      Serial.println("reading from  dallas");
      // query conversion time and sleep until conversion completed
      int16_t conversionTime = sensorsDallas.millisToWaitForConversion(sensorsDallas.getResolution());
      // sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater)
      sleep(conversionTime);
    
      // Read temperatures and send them to controller 
      
      for (int i=0; i<numSensors && i<MAX_ATTACHED_DS18B20; i++) {
     Serial.println("in dallas loop dallas");
        // Fetch and round temperature to one decimal
        float temperature = static_cast<float>(static_cast<int>((getConfig().isMetric?sensorsDallas.getTempCByIndex(i):sensorsDallas.getTempFByIndex(i)) * 10.)) / 10.;
     
        // Only send data if temperature has changed and no error
        #if COMPARE_TEMP == 1
        if (lastTemperature[i] != temperature && temperature != -127.00 && temperature != 85.00) {
        #else
        if (temperature != -127.00 && temperature != 85.00) {
        #endif
      Serial.println("sendign data from dallas");
          // Send in the new temperature
          
         Serial.println(send(msgDallas.set(temperature,1)));
    
          // Save new temperatures for next compare
          lastTemperature[i]=temperature; }
        Serial.println(temperature);  
        }}   
    
    
    
    

    any idea why ?


  • Mod

    @afick the send call is wrong.

    From the example:

    send(msg.setSensor(i).set(temperature,1));
    


  • Hello,

    Thanks for help, but after change to

    send(msgDallas.setSensor(i).set(temperature,1));
    

    Still not working ... ;(


  • Mod

    The serial debug output would help immensely. Could you post it?



  • HELLO,

    serial debug is poor....

    in dallas loop dallas
     data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    gn data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0-beta)
    0;255;3;0;9;Radio init successful.
    IP: 192.168.0.11
    0;255;3;0;9;Init complete, id=0, parent=0, distance=0
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    25.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    26.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    26.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    26.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    26.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    26.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    26.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    26.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    26.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    27.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    27.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    27.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    27.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    27.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    27.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    27.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    27.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    27.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    27.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    28.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    28.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    28.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    28.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    28.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    28.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    28.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    28.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    28.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    28.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    28.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    28.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    28.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    29.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    0;255;3;0;9;Eth: connect
    0;255;3;0;9;Eth: 0;0;3;0;2;
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    0;255;3;0;9;Eth: 0;0;3;0;2;Get Version
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    30.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    31.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    33.00
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    0;255;3;0;9;read: 2-2-0 s=10,c=1,t=13,pt=2,l=2,sg=0:98
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    reading from  dallas
    in dallas loop dallas
    sendign data from dallas
    32.50
    

    All what i get is all what i send to serial...


  • Mod

    1. You are missing
    sendSketchInfo
    

    in presentation().

    1. In presentation(),
    sensors.begin();
    

    is run. In the example that line is in setup().
    3. This:

    sensors.setWaitForConversion(false);
    

    is missing.

    Not sure how much any of it matters, but maybe they are important.


Log in to reply
 

Suggested Topics

40
Online

11.4k
Users

11.1k
Topics

112.6k
Posts