Skip to content

General Discussion

A place to talk about whateeeever you want
1.5k Topics 14.2k Posts
  • Livestock scale communication

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • RGB Mosfet control. Which leg to pull to the hround

    4
    0 Votes
    4 Posts
    2k Views
    Boots33B
    @moskovskiy82 Have a look at my Fire pit RGB striplight controller, The Mosfets in that project run very cool (can't detect any heat rise at all) with 10m of rgb strip lighting connected.
  • RFM95 LoRa

    4
    0 Votes
    4 Posts
    2k Views
    mfalkviddM
    @Borodi-Adrian "not working" is not a problem description we can help you much with unfortunately. See https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help/ for the most common problems and how to fix them. Also see the faq on that page for how to turn on the MySensors debug output and the "How to ask for help" section for the information that usually is needed to help troubleshooting.
  • one-wire network type switch for relay?

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • How nodes select gateways?

    2
    0 Votes
    2 Posts
    727 Views
    mfalkviddM
    @Tommas there can only be one gateway per MySensors network. So you'll need to put the nodes on different networks. See https://www.mysensors.org/about/network for more info on how nodes, gateways and networks work. How to set change the channel depends on which transport you are using. Look for the channel setting in MyConfig.h. All nodes in one MySensors network must use the same channel.
  • DARPA - Sensor lifetime lengthened from weeks to years

    6
    0 Votes
    6 Posts
    2k Views
    skywatchS
    Maybe they have a glass dielectric nano battery with graphene supercapacitor charging from it?
  • Orange PI zero. Problem running the gateway

    9
    0 Votes
    9 Posts
    3k Views
    mfalkviddM
    @moskovskiy82 said in Orange PI zero. Problem running the gateway: Yes i also believe ./configure shoul be one line - it's just that documentation is not that clear for not tech guys like me. So if maintainer of the page is reading this - it should be better done like for the Raspberry gateway page. It's more clear. I've updated the Orange Pi page. Thanks for catching this.
  • Is MySensors 2.2 compatible with arduino IDE 1.0.6?

    4
    0 Votes
    4 Posts
    1k Views
    mfalkviddM
    @moskovskiy82 the automatic builds are tested with 1.8.2 currently.
  • help needed with multiple temp sensor data logging project

    37
    0 Votes
    37 Posts
    11k Views
    wallyllamaW
    @MasterCATZ said in help needed with multiple temp sensor data logging project: @wallyllama thanks that is what I feared, and would have made the job a lot easier how ever I was thinking about doing it the other way to keep the other probes already made backward compatible as they used pins 1-4 just trying to weigh up the pro's and cons also out of all those 3 way splitters only 15x actually have all pins functional ... The big "con" is the risk that someone will come along and try to use it in a standard way. so trying to think of a way to still use the dodgy ones by having redundancy's in place I think the way the PSU is wired up at the moment is the correct way things don't seem to be stressed out this time I am also raising my polling times as I think I read somewhere it takes the sensors 750ms to perform a function and uses 1.5 mA each? Sensor Poll Period: 1000 to 30000 Switch Poll Period: 100 to 1000 my way of thinking this should still have all 60 sensors read in 1 min? 60 sec / 1000ms for Switch Poll period? There is a function that tells all the sensors to start a temperature conversion, you could then read each one individually. So it would be 750ms + (60 * pollingtime) to get them all. I dont know if you trade speed for reliability or not. You may be able to interleave conversion requests and polling. Convreq1 poll30 convreq2 poll31 8convreq3 poll 32 .... convreq 60 poll29 - loop Maybe overkill if 1 reading per minute is enough
  • Help needed for verifying code

    2
    0 Votes
    2 Posts
    812 Views
    gohanG
    I think you need to check the examples on hot to use dht sensors because I'm not sure if you can instantiate only one dht object if you have 2 sensors. In addition I'd use more reliable sensors than DHT like sht31 or si7021.
  • VS Code editor for Arduino

    3
    0 Votes
    3 Posts
    2k Views
    stevebusS
    I use it and like it a lot (but then again, I'm admittedly biased - work for MSFT :-)).. I use VS Code for a lot of other non-mysensors and non-Arduino (i.e. python, node, etc) development, so it's nice to have that all consolidated in one dev tool. It's far from a perfect tool, no doubt, but a good start. Mostly I'm just happy to get Intellisense!
  • double RelyWithButonActuator not working

    3
    0 Votes
    3 Posts
    885 Views
    DickD
    Thanks for the solution, I tested it and works fine now. In Answer to your question why I use the old version of MySensors, at the moment I am re-configurating my ne RP with the latest version of Domoticz. After that I will connect the latest MYsensors Gateway to it. If all the nodes keep on working on the new environment, there is not an immediate need to adjust the code of all my nodes. Is my approach correct? if not please reply.
  • OTA without EEPROM

    5
    0 Votes
    5 Posts
    2k Views
    S
    The project where I had to write to flash? This was a network connected temperature and humidity sensor for a store room which had a built-in OLED display but was also network connected and hosted a website for graphing data output and displaying historical and real-time data. I wrote to flash so I could update the web page and other data OTA which was too big to fit in RAM or EEPROM and I didn't want to store on the SD card in case it was removed for any reason. It wasn't MySensors connected, unfortunately :)
  • lowest cost node

    8
    0 Votes
    8 Posts
    2k Views
    gohanG
    As long as you have sensors and you can read data, you can use that data to be used in rules in the controller. Domoticz for example has a rule creator that also uses blockly that is very useful when you are not much into programming. If you need to check moisture levels (analog sensor) and water present (as a digital input), you could check 6-8 plants with a simple arduino or 16 using a Mega 2560.
  • [SOLVED] Too frequent updates form DHT

    14
    0 Votes
    14 Posts
    3k Views
    archiijsA
    Hi @mfalkvidd and others. Yesterday after work I tried to get my head around code suggestions but somehow I cold not make them work so I did some google search and after some time I find something that I implemented in my nodes for testing. Interestingly it works as expected for two of my nodes, but one still keeps jumping around, not that often, but that's still strange, I will compare code to other two to see what I've done wrong there. So I used Hysteresis approach by doing this. #define HYSTERISIS 0.5 // Hysteresis for sensor ... float temperature = dht.getTemperature(); if (isnan(temperature)) { Serial.println("Failed reading temperature from DHT!"); } else if (abs(temperature - lastTemp ) > HYSTERISIS) { // Only send temperature if it changed since the last measurement or if we didn't send an update for n times lastTemp = temperature; if (!metric) { temperature = dht.toFahrenheit(temperature); } And the same for humidity. Still not sure that this will work as expected in long run, but will see. But now it is way better than before. Thanks.
  • How to get sensor data into influxdb?

    database time influxdb
    7
    0 Votes
    7 Posts
    3k Views
    MaKinM
    @Yveaux do you also use Grafana in order to visualize the data? I am not sure what fields/attributes are necessary despite "time" and "value" for a binary sensor.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    16 Views
    No one has replied
  • Binary button conflicting Relais with button

    4
    0 Votes
    4 Posts
    992 Views
    DickD
    @mfalkvidd i thought is was ok because I defined 4 binary buttons 2, 8, A0 and A1 and they only work like a button. Beside these Buttons there is a class in use for the 3x relais with extra buttons to control the relais or do I make a mistake?
  • UPS

    30
    0 Votes
    30 Posts
    7k Views
    dbemowskD
    As I mentioned in my previous post a few days ago, you will want a battery tender, and not just a charger. A battery tender will shut off if the battery is fully charged, whereas just using a battery charger could overcharge the battery.
  • pir trigger must start delay

    16
    0 Votes
    16 Posts
    3k Views
    DickD
    @BartE What an extended answere. Here I can do something with. Good learning stuff.

24

Online

11.8k

Users

11.2k

Topics

113.2k

Posts