Skip to content

General Discussion

A place to talk about whateeeever you want
1.5k Topics 14.2k Posts
  • Maybe off-topic: CSS flaw in webpage

    4
    0 Votes
    4 Posts
    964 Views
    hekH
    Yep, that was it.
  • how to search within a thread

    4
    0 Votes
    4 Posts
    969 Views
    siodS
    I get "error - no plugins available" :(
  • Mysensors 2.0 ESP8266 serial gateway

    2
    0 Votes
    2 Posts
    1k Views
    Fat FlyF
    #include <EEPROM.h> #include <SPI.h> #include <ArduinoOTA.h> // Enable debug prints to serial monitor #define MY_DEBUG // Use a bit lower baudrate for serial prints on ESP8266 than default in MyConfig.h #define MY_BAUD_RATE 9600 // Enables and select radio type (if attached) #define MY_RADIO_NRF24 //#define MY_RADIO_RFM69 #define MY_GATEWAY_ESP8266 #define MY_ESP8266_SSID "home" #define MY_ESP8266_PASSWORD "123456789" // Set the hostname for the WiFi Client. This is the hostname // it will pass to the DHCP server if not static. #define MY_ESP8266_HOSTNAME "ota-gateway-CH.100" // Enable UDP communication //#define MY_USE_UDP // Enable MY_IP_ADDRESS here if you want a static ip address (no DHCP) #define MY_IP_ADDRESS 10, 124, 77, 101 // If using static ip you need to define Gateway and Subnet address as well #define MY_IP_GATEWAY_ADDRESS 10, 124, 77, 176 #define MY_IP_SUBNET_ADDRESS 255, 255, 255, 0 // The port to keep open on node server mode #define MY_PORT 5003 // How many clients should be able to connect to this gateway (default 1) #define MY_GATEWAY_MAX_CLIENTS 1 // 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 10, 124, 77, 46 // 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 // Flash leds on rx/tx/err // #define MY_LEDS_BLINKING_FEATURE // Set blinking period // #define MY_DEFAULT_LED_BLINK_PERIOD 300 // Led pins used if blinking feature is enabled above #define MY_DEFAULT_ERR_LED_PIN 16 // Error led pin #define MY_DEFAULT_RX_LED_PIN 16 // Receive led pin #define MY_DEFAULT_TX_LED_PIN 16 // the PCB, on board LED #if defined(MY_USE_UDP) #include <WiFiUDP.h> #else #include <ESP8266WiFi.h> #endif #include <MySensors.h> void setup() { ArduinoOTA.onStart( { Serial.println("ArduinoOTA start"); }); ArduinoOTA.onEnd( { Serial.println("\nArduinoOTA end"); }); ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) { Serial.printf("OTA Progress: %u%%\r", (progress / (total / 100))); }); ArduinoOTA.onError([](ota_error_t error) { Serial.printf("Error[%u]: ", error); if (error == OTA_AUTH_ERROR) Serial.println("Auth Failed"); else if (error == OTA_BEGIN_ERROR) Serial.println("Begin Failed"); else if (error == OTA_CONNECT_ERROR) Serial.println("Connect Failed"); else if (error == OTA_RECEIVE_ERROR) Serial.println("Receive Failed"); else if (error == OTA_END_ERROR) Serial.println("End Failed"); }); ArduinoOTA.begin(); Serial.println("Ready"); Serial.print("IP address: "); Serial.println(WiFi.localIP()); } void presentation() { // Present locally attached sensors here } void loop() { // Send locally attech sensors data here ArduinoOTA.handle(); }
  • MPU9250 on Arduino Nano

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Guide for connecting several small RGB 5050 ledstrips?

    7
    0 Votes
    7 Posts
    2k Views
    L
    I am using my RGBW controller like that. I have some of these nodes controlling multiple strips. Although if you want to controll them individually you need a controller for each one. (or build one that has more mosfets, then you are only limited by the number of pwm pins on the arduino you are using).
  • Sleep vs gw.sleep

    7
    0 Votes
    7 Posts
    2k Views
    cimba007C
    @mfalkvidd This might be the case. Thanks for the info .. i am looking forward to test it ;-)
  • Battery powered smoke sensor

    20
    0 Votes
    20 Posts
    8k Views
    Syma BingbingS
    I also use a 3s lipo battery powered a smoke sensor last year, and it works well now.
  • Do you have to clear EEPROM when moving gateway to new controller?

    1
    0 Votes
    1 Posts
    755 Views
    No one has replied
  • Amazing progress...

    2
    5 Votes
    2 Posts
    935 Views
    sundberg84S
    @AWI. I was just thinking the other day I haven't seen you writing for a while. I hope you are making positive progress and nice to see you are back! :)
  • Questions on using the forum

    3
    0 Votes
    3 Posts
    838 Views
    JapioJ
    I tried to reproduce, did not happen again. I am not using a mobile device, just Firefox in windows 10. But as I said now it works. Quite frustrating when you can't see what you're typing..... Thanks for your response.
  • Need working example battery powered sensor

    21
    0 Votes
    21 Posts
    12k Views
    hansiiiH
    @AWI Thank you! now i have removed the three resitors, before that I had only removed the regulator. Now the battery drain is away. [image: 1474006121069-arduino_pro.jpg]
  • RS485 Speed and different routing possible?

    3
    0 Votes
    3 Posts
    1k Views
    S
    haha, I knew you gonne hijack this thread As you answered the first question (more or less) i was looking for a good test rig long distance transmission line I yust have to re-read the specs off the ADM isolator i think :smiley: So there is no possibility to route from node to node pitty. Tnx for the answer anyway i will try the higher speed setting (57K6 or so) Btw good write up about the RS485 setup on the home page it will defenetly speed up things (as i spend a few hours wit wrong setup) Regards, Stefan.
  • Raspberry local widgets

    6
    0 Votes
    6 Posts
    2k Views
    mfalkviddM
    @Goldwolf very cool, sounds like an awesome project!
  • Sensor continue without connection

    2
    0 Votes
    2 Posts
    819 Views
    mfalkviddM
    @aaron832 there is currently not, but joining forces with the people in https://forum.mysensors.org/topic/4449/how-to-disable-default-node-registration-to-the-gw/ who also want this might be a good idea.
  • DHT sensor for Mysensors V2

    10
    0 Votes
    10 Posts
    6k Views
    Tagore.PDET
    Yes, thx. same issue.
  • 6 Votes
    31 Posts
    11k Views
    barduinoB
    I'm interested in organizing a workshop
  • How does MySensors actually work

    8
    1 Votes
    8 Posts
    3k Views
    Lawrence HelmL
    @palande.vaibhav o.k if all connected o.k, it should show up, remember it will send something when the temperature changes so hold your fingers on the temperature sensor, and it should show up...
  • I need a guidance :)

    8
    0 Votes
    8 Posts
    2k Views
    R
    @Boots33 thank you very very much my dear friend <3
  • New Homepage design

    31
    2 Votes
    31 Posts
    7k Views
    cimba007C
    Well .. overwriting an !important doesn't seem to be this easy .. :D The best I could come up with: // ==UserScript== // @name New Userscript // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://forum.mysensors.org/* // @grant none // ==/UserScript== function addNewStyle(newStyle) { var styleElement = document.getElementById('styles_js'); if (!styleElement) { styleElement = document.createElement('style'); styleElement.type = 'text/css'; styleElement.id = 'styles_js'; document.getElementsByTagName('head')[0].appendChild(styleElement); } styleElement.appendChild(document.createTextNode(newStyle)); } (function() { 'use strict'; // Your code here... addNewStyle('.container { width: 55% !important;}'); //$(".container").removeAttr("width"); })();
  • Help parsing a string to grab a value?

    4
    1 Votes
    4 Posts
    1k Views
    T
    Thanks for your help guys! I got it resolved....

13

Online

11.8k

Users

11.2k

Topics

113.2k

Posts