Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. What did you build today (Pictures) ?

What did you build today (Pictures) ?

Scheduled Pinned Locked Moved General Discussion
1.1k Posts 105 Posters 202.0k Views 98 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • tbowmoT tbowmo

    @bjacobse

    I have been using influxdb/grafana for the last year or so, for logging data and presenting it, so no need to use domoticz for that. Over a year ago I injected nodered into the stream, so it sits between mysensors and domoticz, and was used to route things around (And make some fake sensors for domoticz).

    For the dashboard part I have been developing my own solution. First it was running within domoticz as a customized dashboard, but I moved it to Angular instead, with a strong dependency towards domoticz, as I could query that to get sensor values. Lately I had moved on to use MQTT for the dashboard (and internal node-red data routing). There I can get persistent data (retain) that keeps the latest data on a given topic. Then my need for domoticz went away there..

    The last thing I then used domoticz for, was the automation rules for turning on / off my tv when the chromecast was activated, and control a couple of LED strips according to the state of the chromecast (playing / paused etc). With that moved to nodered, then domoticz could be turned off.

    The complete software stack is a bit larger, than with domoticz for everything, but it is much more flexible, than what I could achieve with domoticz.

    also it brought in a couple of needed updates for my node-red mysensors nodes, so that was a "bonus" as well :)

    sinczeS Offline
    sinczeS Offline
    sincze
    MySensors Evangelist
    wrote on last edited by
    #452

    @tbowmo interesting indeed, tnx for sharing. Currently I still use Domoticz for the API Logging is done with INFLUX and Grafana. However in addition to Domoticz I use Pass2PHP. I can now control everything with PHP. PHP seems pretty common so a lot of examples I can find online ;-0. I am a complete MQTT / NODE-RED NOOB.

    YveauxY tbowmoT 2 Replies Last reply
    0
    • sinczeS sincze

      @tbowmo interesting indeed, tnx for sharing. Currently I still use Domoticz for the API Logging is done with INFLUX and Grafana. However in addition to Domoticz I use Pass2PHP. I can now control everything with PHP. PHP seems pretty common so a lot of examples I can find online ;-0. I am a complete MQTT / NODE-RED NOOB.

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #453

      @sincze said in What did you build today (Pictures) ?:

      I am a complete MQTT / NODE-RED NOOB.

      So start playing with it to become a Node-Red/MQTT Fanboy! ;-)

      http://yveaux.blogspot.nl

      1 Reply Last reply
      1
      • sundberg84S Offline
        sundberg84S Offline
        sundberg84
        Hardware Contributor
        wrote on last edited by
        #454

        It is always those last connections...

        0_1521574134168_9996122e-87ce-4f0b-97b5-9fe9b70ec2d2-image.png

        1 Reply Last reply
        3
        • sinczeS sincze

          @tbowmo interesting indeed, tnx for sharing. Currently I still use Domoticz for the API Logging is done with INFLUX and Grafana. However in addition to Domoticz I use Pass2PHP. I can now control everything with PHP. PHP seems pretty common so a lot of examples I can find online ;-0. I am a complete MQTT / NODE-RED NOOB.

          tbowmoT Offline
          tbowmoT Offline
          tbowmo
          Admin
          wrote on last edited by
          #455

          @sincze well you're half way there, already got influxdb implemented :)

          NodeRed is pretty easy to work with, and MQTT is (almost) just start and forget with mosquito. Just a messaging channel that you can hook any listener into, like python scripts, angular5 web apps etc.

          1 Reply Last reply
          0
          • mfalkviddM Offline
            mfalkviddM Offline
            mfalkvidd
            Mod
            wrote on last edited by
            #456

            Today I built auto-detection of missing MySensors keywords. The build system will complain if someone adds a new keyword to the Doxygen documentation but forgets to add it to keywords.txt.

            This is what the output looks like on the current code base (we're missing a bunch of keywords):
            0_1521641921920_597e3648-8dea-4498-b481-39db99ce0569-image.png

            This is the code change:
            0_1521641576208_5485185b-9a6d-4eee-9079-e2de14d62d21-image.png

            I have also added those missing keywords to keywords.txt, so now they'll be highlighted properly in the Arduino IDE.

            Thanks to Anticimex for assisting me in working with the build system.

            1 Reply Last reply
            5
            • mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by mfalkvidd
              #457

              One more build for today: building the raspberry pi gateway.

              I often need to test different settings for the Raspberry Pi Gateway. Running make after just changing one parameter in the configure command (for example, turning on or off interrupts for nrf24 or changing the PA_LEVEL) results in a 1m 13s wait on my Raspberry Pi:
              0_1521668917160_7ee8dbb9-d664-4968-99b9-848a6959d0fe-image.png

              I installed ccache using these instructions and now a make with the same type of change is done in 31s.
              0_1521669105554_513a3db0-222f-47a6-889f-106746ff623b-image.png
              Not that much of a win, but it saves a lot of time when trying many different settings.

              1 Reply Last reply
              1
              • gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #458

                did you cut the compile time of the gateway?

                mfalkviddM 1 Reply Last reply
                0
                • gohanG gohan

                  did you cut the compile time of the gateway?

                  mfalkviddM Offline
                  mfalkviddM Offline
                  mfalkvidd
                  Mod
                  wrote on last edited by
                  #459

                  @gohan yes?

                  gohanG 1 Reply Last reply
                  0
                  • mfalkviddM mfalkvidd

                    @gohan yes?

                    gohanG Offline
                    gohanG Offline
                    gohan
                    Mod
                    wrote on last edited by
                    #460

                    @mfalkvidd on my Pi3 it takes 40 around seconds, are you using an old Pi1 ?

                    mfalkviddM 1 Reply Last reply
                    0
                    • gohanG gohan

                      @mfalkvidd on my Pi3 it takes 40 around seconds, are you using an old Pi1 ?

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by
                      #461

                      @gohan no, I'm using a Pi3.

                      1 Reply Last reply
                      0
                      • mfalkviddM Offline
                        mfalkviddM Offline
                        mfalkvidd
                        Mod
                        wrote on last edited by
                        #462

                        Today I finally got my thumbs out and upgraded my plant monitoring to MySensors 2.x (from 1.x).
                        Updated sketch is available on Github: https://github.com/mfalkvidd/arduino-plantmoisture

                        Result: I really need to water my plants ;-) But the 2.5 year old batteries are still going strong.
                        0_1521737262850_PlantMonitoringDomoticz-2018-03-22.png

                        maghacM 1 Reply Last reply
                        5
                        • sundberg84S Offline
                          sundberg84S Offline
                          sundberg84
                          Hardware Contributor
                          wrote on last edited by
                          #463

                          Tonight some more PCB design:

                          0_1521749634333_d772fdfb-5734-4055-9963-6676129ceecd-image.png

                          dbemowskD 1 Reply Last reply
                          1
                          • sundberg84S sundberg84

                            Tonight some more PCB design:

                            0_1521749634333_d772fdfb-5734-4055-9963-6676129ceecd-image.png

                            dbemowskD Offline
                            dbemowskD Offline
                            dbemowsk
                            wrote on last edited by
                            #464

                            @sundberg84 I will throw my two cents in on the design. An issue that I had brought up on previous revisions had to do with capacitors. On the Rev 9 and below boards, your capacitor footprints were pretty much all for flat ceramic capacitors. While I was able to make it work for the couple can style electrolytics that I used, it wasn't quite right. Now on this revision, I see that all of your capacitors have a can electrolytic style footprint. I think it needs to be a mix. The 4.7uf and 10 uf capacitors should be can style footprint, whereas your 0.1s should be non polarized ceramic flat cap footprints. The flat pack ceramics I think have a wider hole spacing.

                            Again, just my two cents

                            Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                            Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                            sundberg84S 1 Reply Last reply
                            1
                            • dbemowskD dbemowsk

                              @sundberg84 I will throw my two cents in on the design. An issue that I had brought up on previous revisions had to do with capacitors. On the Rev 9 and below boards, your capacitor footprints were pretty much all for flat ceramic capacitors. While I was able to make it work for the couple can style electrolytics that I used, it wasn't quite right. Now on this revision, I see that all of your capacitors have a can electrolytic style footprint. I think it needs to be a mix. The 4.7uf and 10 uf capacitors should be can style footprint, whereas your 0.1s should be non polarized ceramic flat cap footprints. The flat pack ceramics I think have a wider hole spacing.

                              Again, just my two cents

                              sundberg84S Offline
                              sundberg84S Offline
                              sundberg84
                              Hardware Contributor
                              wrote on last edited by sundberg84
                              #465

                              @dbemowsk the positive with polarized footprint is that you can use both and it's very easy for a newbie to see which one is Gnd. You who are more experienced can determine if you want to use a flat unpolarized cap.

                              dbemowskD 1 Reply Last reply
                              0
                              • mfalkviddM Offline
                                mfalkviddM Offline
                                mfalkvidd
                                Mod
                                wrote on last edited by
                                #466

                                This evening I spent a few hours finding more MySensors keywords that exist but weren't highlighted.
                                I found about 20 that were documented but not highlighted, so I added them.

                                I also found 3 that weren't documented nor highlighted. I have created issues on github to document them. Help is welcome. Documenting the keywords is an easy way to contribute to the project.
                                https://github.com/mysensors/MySensors/issues/1090
                                https://github.com/mysensors/MySensors/issues/1089
                                https://github.com/mysensors/MySensors/issues/1088

                                1 Reply Last reply
                                3
                                • sundberg84S sundberg84

                                  @dbemowsk the positive with polarized footprint is that you can use both and it's very easy for a newbie to see which one is Gnd. You who are more experienced can determine if you want to use a flat unpolarized cap.

                                  dbemowskD Offline
                                  dbemowskD Offline
                                  dbemowsk
                                  wrote on last edited by
                                  #467

                                  @sundberg84 one of the 0.1uf caps that i use has short leads and wouldn't fit that hole spacing. They are higher voltage capacitors that i bought years ago for another project that i am trying to use up. I do see your point though.

                                  Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                  Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                  sundberg84S 1 Reply Last reply
                                  1
                                  • mfalkviddM mfalkvidd

                                    Today I finally got my thumbs out and upgraded my plant monitoring to MySensors 2.x (from 1.x).
                                    Updated sketch is available on Github: https://github.com/mfalkvidd/arduino-plantmoisture

                                    Result: I really need to water my plants ;-) But the 2.5 year old batteries are still going strong.
                                    0_1521737262850_PlantMonitoringDomoticz-2018-03-22.png

                                    maghacM Offline
                                    maghacM Offline
                                    maghac
                                    wrote on last edited by
                                    #468

                                    @mfalkvidd said in What did you build today (Pictures) ?:

                                    Today I finally got my thumbs out and upgraded my plant monitoring to MySensors 2.x (from 1.x).
                                    Updated sketch is available on Github: https://github.com/mfalkvidd/arduino-plantmoisture

                                    Result: I really need to water my plants ;-) But the 2.5 year old batteries are still going strong.
                                    0_1521737262850_PlantMonitoringDomoticz-2018-03-22.png

                                    What kind of components is this running on? I am having trouble getting my batteries to run even 2.5 months (or 2.5 weeks for the outside temp sensor...) :)

                                    mfalkviddM 1 Reply Last reply
                                    1
                                    • maghacM maghac

                                      @mfalkvidd said in What did you build today (Pictures) ?:

                                      Today I finally got my thumbs out and upgraded my plant monitoring to MySensors 2.x (from 1.x).
                                      Updated sketch is available on Github: https://github.com/mfalkvidd/arduino-plantmoisture

                                      Result: I really need to water my plants ;-) But the 2.5 year old batteries are still going strong.
                                      0_1521737262850_PlantMonitoringDomoticz-2018-03-22.png

                                      What kind of components is this running on? I am having trouble getting my batteries to run even 2.5 months (or 2.5 weeks for the outside temp sensor...) :)

                                      mfalkviddM Offline
                                      mfalkviddM Offline
                                      mfalkvidd
                                      Mod
                                      wrote on last edited by mfalkvidd
                                      #469

                                      @maghac see the link in my post for full details. But basically it is just what's recommended on the battery page. Arduino pro mini with power led and ldo removed, bod set to 1.8V, powered by 2xAA.

                                      1 Reply Last reply
                                      2
                                      • dbemowskD dbemowsk

                                        @sundberg84 one of the 0.1uf caps that i use has short leads and wouldn't fit that hole spacing. They are higher voltage capacitors that i bought years ago for another project that i am trying to use up. I do see your point though.

                                        sundberg84S Offline
                                        sundberg84S Offline
                                        sundberg84
                                        Hardware Contributor
                                        wrote on last edited by
                                        #470
                                        This post is deleted!
                                        1 Reply Last reply
                                        0
                                        • ThucarT Offline
                                          ThucarT Offline
                                          Thucar
                                          wrote on last edited by
                                          #471

                                          0_1521972359235_P3251110_v1.JPG

                                          Controller: Node-Red
                                          Gateway: SerialGateway & GSMMQTTGateway
                                          MySensors: 2.2.0

                                          dirkcD 1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          12

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular