Skip to content

General Discussion

1.6k Topics 14.2k Posts

A place to talk about whateeeever you want

  • Sensor for pellet burner

    pellets mysensors domoticz
    5
    0 Votes
    5 Posts
    2k Views
    A
    @pugho You can do a lot of customization in Domoticz like custom icons etc. Just browse the wiki and forum (and don't get distracted ;-))
  • Another Rework oven/station question

    2
    0 Votes
    2 Posts
    890 Views
    S
    t862 looks fun thing, i didn't know it. but it's not enclosed?? you can also use the cheap hot plate technique, never tried it though. I have a T962 that i've hacked. works well here (i use only one curve for the moment, the one i set up for my solder paste). Crazy that they sell it, the hack is well known, but they don't apply it! it greatly improves it.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Pass RFID UID tag to Domoticz

    2
    0 Votes
    2 Posts
    2k Views
    A
    @martins try V_TEXT
  • Repeater node logic

    repeater
    2
    0 Votes
    2 Posts
    1k Views
    H
    Yes, you can have messages passing multiple repeaters. Yes, nodes can be included via repeaters. No, you should probably not make every node a repeater, enable it for woken nodes at strategic locations.
  • Power consumption (battery) during (re-)init

    1
    0 Votes
    1 Posts
    613 Views
    No one has replied
  • PCB idea, another basic node board.

    2
    1 Votes
    2 Posts
    1k Views
    S
    :+1: looks good! If you read the slim-node and EasyPCB thread you will probably find alof of our first mistakes and thoughts...
  • [SOLVED] Unable to write data to serial port on pi3

    3
    0 Votes
    3 Posts
    1k Views
    ?
    @Yveaux said in Unable to write data to serial port on pi3: Thank you dear Sir, both of your solution work. Amazing. I hope this will help others. Cause I can sense that this is pretty basic Linux stuff. But I was stuck for days on that. Thank you :+1:
  • NRF Radio issue on shared SPI

    3
    0 Votes
    3 Posts
    1k Views
    mfalkviddM
    @Julia-J. the recommendations in https://www.dorkbotpdx.org/blog/paul/better_spi_bus_design_in_3_steps might be useful to make the bus more stable. You do have a capacitor for close to the nrf right? I know it shouldn't matter but unstable power often causes strange things to happen. Another alternative could be to use softspi to place the nrf on separate pins. An example is available at https://www.mysensors.org/build/ethernet_gateway As suggested in http://electronics.stackexchange.com/questions/166832/multiple-spi-busses-in-ribbon-cable?rq=1 connecting every second wire in the ribbon to ground can shield the signals from interference. Maybe lowering the SPI speed helps. I think that is done by setting //#define MY_RF24_SPI_MAX_SPEED 4000000 to something lower, maybe try 1000000 instead.
  • no router configuration?

    7
    0 Votes
    7 Posts
    2k Views
    gohanG
    If you use normal mqtt implementation, the communication is pretty much instantaneous; the only problem you may encounter is to keep NAT session open on the router so you need to make sure the node "pings" the mqtt broker regularly otherwise after some minutes without traffic routers will close the NAT session and traffic from the outside will not get through and reach your node
  • API Structure Datatypes

    3
    0 Votes
    3 Posts
    1k Views
    K
    @AndyDHill Look at "MockMySensors" sketch in MySensors examples. Maybe it helps with some types.
  • 0 Votes
    16 Posts
    20k Views
    G
    @catcher Thanks, I tried this Perl script and it is working out of the box with OpenHAB2! And I'm sending with MySensors 2.
  • Help Getting Started

    home assistant
    2
    0 Votes
    2 Posts
    2k Views
    H
    Hi and welcome! I would say all of the examples in the build section has been converted to 2.0 (except maybe for some old build-projects created by external people). The examples with external library dependencies comes from here: https://github.com/mysensors/MySensorsArduinoExamples/tree/master/examples and standalone examples here: https://github.com/mysensors/MySensors/tree/development/examples
  • multi rebbots gatewayserial mysensors 2.1.1

    1
    0 Votes
    1 Posts
    644 Views
    No one has replied
  • Looking for simple/clean Code example for sleep() external interrupt.

    2
    0 Votes
    2 Posts
    2k Views
    H
    I think the sketch you need is here .
  • 'MySensors' does not name a type

    6
    0 Votes
    6 Posts
    4k Views
    mfalkviddM
    @adrian_kbb73 Welcome to the MySensors commu ity! Most of this code seems to be for MySensors 1.x. It needs to be converted to work with 2.x. A guide is available at https://forum.mysensors.org/topic/4276/converting-a-sketch-from-1-5-x-to-2-0-x/
  • German users

    11
    0 Votes
    11 Posts
    3k Views
    M
    ja ich... :-) Aber noch ganz frisch auf dem Gebiet..
  • Need Help with our project

    2
    0 Votes
    2 Posts
    793 Views
    S
    @Kristofer-Cuevas - there are many ways - our way you can read about in the getting started page: https://www.mysensors.org/about Most of the controllers have a web gui if thats what you mean.
  • devices a long time away from controller.....

    4
    0 Votes
    4 Posts
    1k Views
    Boots33B
    @markjgabb said in devices a long time away from controller.....: do the devices have lease life times? where they may change there ID without warning... As far as I am aware the node id's are persistent. You would need to manually delete the node on your controller to re allocate the id to a new node. So you should be ok with the node being away for extended periods of time. can i create a node that does nothing but sleep unless one of 3 buttons on it is pushed? Yes that is possible, you would need to use an interrupt for that.
  • Relais sketch, auto switch on again after x seconds

    9
    0 Votes
    9 Posts
    4k Views
    CorvlC
    @ BartE , thanks a lot , I changed all the _Off to _OFF and the same with the On , gw. wait as well. also the 500 to 5000 Working perfectly ! Many thanks I haven't had a definite anwer yet if libabry 2.x works on vera , I have only read about problems . For the moment I stick to 1.5 edit : one small thing I just noticed , when I switch via the vera Gui the relais to off , it nicely goes back to on after 5 seconds , but it doesn't report back to vera that it is again in an on state. is there still something wrong with the code? Again many thanks, Cor For future reference: // Example sketch showing how to control physical relays. // This example will remember relay state even after power failure. #include <MySensor.h> #include <SPI.h> #define RELAY_1 3 // Arduino Digital I/O pin number for first relay (second on pin+1 etc) #define NUMBER_OF_RELAYS 1 // 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 MySensor gw; void setup() { // Initialize library and add callback for incoming messages gw.begin(incomingMessage, AUTO, true); // Send the sketch version information to the gateway and Controller gw.sendSketchInfo("Relay", "1.0"); // Fetch relay status 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) gw.present(sensor, S_LIGHT); // Then set relay pins in output mode pinMode(pin, OUTPUT); // Set relay to last known state (using eeprom storage) if (gw.loadState(sensor) == RELAY_OFF) { digitalWrite(pin, RELAY_OFF); gw.wait(5000); digitalWrite(pin, RELAY_ON); } } } void loop() { // Alway process incoming messages whenever possible gw.process(); } void incomingMessage(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 if (message.getBool() == RELAY_OFF) { digitalWrite(message.sensor-1+RELAY_1, RELAY_OFF); gw.wait(5000); digitalWrite(message.sensor-1+RELAY_1, RELAY_ON); } // Store state in eeprom gw.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()); } }```

16

Online

12.2k

Users

11.2k

Topics

113.4k

Posts