Skip to content

General Discussion

A place to talk about whateeeever you want
1.5k Topics 14.2k Posts
  • Website forum search feature [is broken]

    Pinned
    4
    1 Votes
    4 Posts
    185 Views
    electrikE
    @dbemowsk You can also use google and add mysensors before the search phrase
  • Arduino IDE 1.8.10 - Warning....

    Pinned
    3
    2 Votes
    3 Posts
    502 Views
    skywatchS
    1.8.12 is OK, so no more problems for you either I hope.
  • Pjon Script

    8
    0 Votes
    8 Posts
    115 Views
    TheoLT
    PJON is really Cool. But not always very practical. But the whole eco system is well thought off. I was much impressed when I read about it.
  • Hacking a Neato Robotics BotVac Connected

    71
    3 Votes
    71 Posts
    79k Views
    T
    Sorry to necro but, you may be interested to hear that someone published a solution to controlling Neato locally on GitHub. Unfortunately it requires a hardware modification in form of an ESP32 or similar board, but with it you should be able to use your Neato with Home Assistant, for example. I haven't yet tested this myself, but the solution looks worth a look and the instructions seem clear enough. https://github.com/Philip2809/neato-connected As I've received the dreaded shutdown email, I'll be looking into this once I have more time to tinker.
  • AI: What is the future of Wikis and Forums?

    10
    1 Votes
    10 Posts
    138 Views
    TheoLT
    Well it's nice that it can help people who want it. Maybe not all.
  • set hostname using static IP

    mysensors hostname static
    3
    0 Votes
    3 Posts
    61 Views
    TheoLT
    I did a grep on the source code and found this snipper #if defined(MY_GATEWAY_ESP8266) || defined(MY_GATEWAY_ESP32) // Turn off access point WiFi.mode(WIFI_STA); #if defined(MY_GATEWAY_ESP8266) WiFi.hostname(MY_HOSTNAME); #elif defined(MY_GATEWAY_ESP32) WiFi.setHostname(MY_HOSTNAME); #endif #if defined(MY_IP_ADDRESS) WiFi.config(_MQTT_clientIp, _gatewayIp, _subnetIp); #endif /* End of MY_IP_ADDRESS */ (void)WiFi.begin(MY_WIFI_SSID, MY_WIFI_PASSWORD, 0, MY_WIFI_BSSID); #endif MySensors uses the standard ESP libraries for this. So I expect it to work. But you need to provide at least a bit of source code. Right now it's hard to answer your question. Regarding to MySensors: A HTTP hostname can only be set for Gateways that either use Wifi or Ethernet For nodes you can provide a sketchname and that will be seen in your controller. Regarding to static non static IP addresses. I prefer to use DHCP and set that device in my router as a static IP. There I also give it another hostname. So that in case I have to replace my Gateway I can do it all in the router. Hope this helps. But please provide more info on what you're trying to achieve
  • Keen to build again

    9
    0 Votes
    9 Posts
    140 Views
    S
    MySensors is an EXCELLENT project. It allows for complete control over the various sensors. It's extremely simple. Its drawback is that it's open source, so it's unfunded and development is slow, but I don't think there are any better projects than this at the moment.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • IP phone and beacon

    4
    1 Votes
    4 Posts
    64 Views
    E
    Are you still able to use the same analog phone plugged into the back of your modem? If so then it has to still use the same protocol, and I don't understand why the analog beacon wouldn't still work. It would just have to be on that same wire, not on the internet side of the modem. The modem is doing all of the translation in that case. Or am I missing something? Did you have to get a new phone to use the new service?
  • Code Garage to the rescue.

    18
    1 Votes
    18 Posts
    423 Views
    F
    it is up and running
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • gateway MQTT

    2
    0 Votes
    2 Posts
    54 Views
    OldSurferDudeO
    I don't have a good answer for you @mimaret :( When I get to the point where I'm getting strange error messages, I bite the bullet and start from ground zero. Fortunately, with the RPi you just need a new SD card. Start with a fresh copy of the Raspberry Pi OS. If you enable SSH (and WiFI) when you create the image, you can do everything headless (without keyboard-mouse-video) by running raspi-config via a remote terminal ( PuTTY ) If you enable VNC with raspi-config you can have access to the GUI. Double check your radio wiring. Don't have anything unnecessary plugged in. Carefully follow the instructions I've done this tedious process many times. My RPi's are 3B+ and Zero 2 W. Here's what I've encountered: bad power supply bad SD card bad wiring corrupt download and, of course, more user errors than I care to think about! I have not come across bad RPi ... no, not true! I had a Zero 2 W with a bad WiFi chip (common problem). Overcame that with a USB WiFi dongle. Good luck! Let us know what you discover. -OSD
  • CHATGPT My new best friend!

    5
    3 Votes
    5 Posts
    60 Views
    OldSurferDudeO
    @Tmaster I think it writes better code than a lot of code I've seen, and the documentation is a lot better. The latter, of course, is because most coders don't document. :( some key elements: good statement of work -- Purpose of the Code is key (did you write that? Good job!). This will guide the AI to write what you want. descriptive variables good documentation code is independent of reading sensors up-to-down/down-to-up I spent a couple hours analyzing, researching and writing and re-writing this and all I can say is that the AI didn't catch is, as far as I can see, if your sensors are too far apart or your magnet is too weak, you could get false readings. You, being the author of AI directive, are responsible for for the code. The AI is just a tool. I started my coding with assembly language, though at that time we still had to enter the binary on some machines (set 16 switches, then press commit). ForTran and COBOL were the first real high level languages and subsequent languages, pascal, c, java, etc. were improvements. AI is a quantum step. It's still coding, but you have to learn how to talk to the AI to get what you want. Good project! Let us know how it turns out and if you had to tweak the code. -OSD
  • single-click, double-click, long-press button possible with MySensors?

    5
    0 Votes
    5 Posts
    89 Views
    dirkcD
    @ZenBlizzard , yes thanks, thats the point. How to deal with smartSleep() and battery lifetime.
  • What is actual status of MySensors?

    6
    0 Votes
    6 Posts
    93 Views
    TheoLT
    @skywatch I don't like ESPs to be honest. Seems like a waste using a Wifi MCU for mysensors.
  • ESP32 with LoRa

    5
    0 Votes
    5 Posts
    114 Views
    ZenBlizzardZ
    Hey! If you're using ESP32 with LoRa (RFM95) and a Raspberry Pi gateway, here are some quick tips: Hardware: Heltec ESP32 + LoRa boards work great with MySensors. Power: ESP32 (~600mA) + LoRa (~120mA) can drain batteries fast—Arduino might be better. Software: Use Arduino IDE for ESP32 (try EnergyMeterPulseSensor), and set up an MQTT gateway on the RPi. Home Assistant works well for data visualization. Real-World Tips: MySensors + LoRa is great for farm/weather monitoring—checking similar projects can help.
  • Is it possible to extract child ID from a just sent message?

    4
    0 Votes
    4 Posts
    80 Views
    ZenBlizzardZ
    It seems you can access the child ID from the sent message by looking at the destination property. If you have the message object, you can extract the ID directly from there.
  • 0 Votes
    4 Posts
    67 Views
    F
    @ZenBlizzard in case you are measuring the output with a multimeter, you will get an averaged level, since AC current waveform should be sinusoidal and overlapped with the Vcc/2->2.56V in your case. To measure the current you need a decently high sampling and some math. #define SENSITIVITY 66 // mV/A const float readings = 5; const float alpha = 2.0 / (2 * readings + 1); for (ifor = 0; ifor < 250; ifor++) { // Voltage voltageSampleRead = analogRead(V) * vccRead / 1023 - vccRead / 2; /* read the sample value including offset value*/ voltageSampleSum = voltageSampleSum + sq(voltageSampleRead); /* accumulate total analog values for each sample readings*/ voltageSampleOffsetSum = voltageSampleOffsetSum + voltageSampleRead; // Current currentSampleRead = analogRead(I) * vccRead / 1023 - vccRead / 2; /* read the sample value including offset value*/ currentSampleSum = currentSampleSum + currentSampleRead * currentSampleRead; /* accumulate total analog values for each sample readings*/ currentSampleOffsetSum = currentSampleOffsetSum + currentSampleRead; wait(1); } voltageMean = voltageSampleSum / ifor; /* calculate average value of all sample readings taken*/ voltageOffset = voltageSampleOffsetSum / ifor; reading = (sqrt(voltageMean) - voltageOffset) * 230.0 / 1.0; // read voltage / reported voltage. voltage = round_to_dp(alpha * reading + (1 - alpha) * voltage,1); Serial.println(voltage); if (voltage < 25) voltage = 0; currentMean = currentSampleSum / ifor; /* calculate average value of all sample readings taken*/ currentOffset = currentSampleOffsetSum / ifor; reading = (sqrt(currentMean) - currentOffset) / SENSITIVITY * 1000 - currentZeroOffset; // subtract no load current. if (reading < 0) reading = 0; current = round_to_dp( alpha * reading + (1 - alpha) * current,2);
  • Email notifications received twice

    3
    1
    1 Votes
    3 Posts
    74 Views
    ZenBlizzardZ
    It looks like duplicate email notifications may be linked to system settings or preferences. Have you noticed if the issue happens after specific actions or changes? Investigating your notification settings might shed some light
  • No merge into master in the last 5 years, should we use development?

    10
    0 Votes
    10 Posts
    105 Views
    bgunnarbB
    Well, my network with two handfulls of nodes in three different locations is still live and kicking! I agree that there does not seem to be a lot happening in the community. I'm running 2.4.0- alpha since this gives support for MQTT over TLS. Just managed today to create one more MQTT GW after reading a lot about support for ESP8266. You know, these things you do once per year and have to learn new each time. MySensors is the cheapest way I have found to create small sensor nodes etc. But now slowly running out of my supply of hardware. Well, time will tell...

29

Online

11.7k

Users

11.2k

Topics

113.1k

Posts