Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. oneyb
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    oneyb

    @oneyb

    4
    Reputation
    17
    Posts
    399
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    oneyb Follow

    Best posts made by oneyb

    • RE: Where did everyone go?

      Hi Everyone,

      I initially started with a goal and MySensors suited, and was very approachable. I built it and it still works. I didn't need much help.

      I had a bunch of fun getting things to work and acquired some skills. The work with MySensors helped me get a job as an embedded software engineer, with my environmental sciences i.e. data analysis background.

      Since getting that job, I have moved much more towards minimalism in my private life. As such I am designing simple systems that don't need automating, and asking myself what I need. My current focus during my spare time on ultralight winter backpacking/skitouring as well as vipassana meditation helps me see more clearly what is necessary to be happy. My insight does not bode well for most of current IoT use.

      I may make some noise when I have decided that a certain thing is necessary AND I need help OR if I dare to show off ;). Meanwhile, enjoy the peace and quiet.

      I think when I do get back into MySensors, it will be when I combine my statistics and firmware knowledge: so-called embedded AI applied to inventory management. That is also the solution to truly devalue a cloud connection, in my opinion. Do the work locally (or on your gateway), and say something, if necessary. We'll see if that tendency/thought makes sense in a few years.

      I will also revisit MySensors when I want to build an energy harvesting sensor. This is somewhat proximate. I am not a big fan of batteries.

      Thank you for the support and the handy framework. I am grateful for the simple systems that work, and keep working.

      Going outside now :).

      Kind regards,
      Brian

      posted in General Discussion
      oneyb
      oneyb
    • RE: Permissions of /dev/ttyUSBMySensorsGateway

      Thank you @hek and @mfalkvidd for the quick replies! I did not receive a notification, so I had no idea anyone had had a look.

      @mfalkvidd, indeed I like the group solution and just missed that option. Because I occasionally upload firmware with my Pi, I have the group 'dialout', which suits this purpose well. So, I tried it and it worked like a charm. I think that should be mentioned on the install page.

      For the record:

      ./configure  --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSBMySensorsGateway --my-transport=nrf24 --my-rf24-irq-pin=15 --my-serial-groupname=dialout
      make
      

      I try to keep everything documented how I do things (for myself). I have an ansible playbook in my RPi ansible management repository.

      For my configuration, please see:
      https://github.com/oneyb/rpi-embed-dev/blob/master/install-mysensors-gateway-raspberry.yaml

      Thanks again!

      posted in Home Assistant
      oneyb
      oneyb
    • RE: Getting involved

      Hi @mfalkvidd,
      thank you for the encouragement. My dream is to become proficient in small-scale industrial applications. For example, I would like to build a kitchen countertop food processor to process larger batches of fruits, pour them in (recycled) glasses in a protected sterile atmosphere, and seal them. Basically it would be a canning machine for the lazy :).

      For now I want to apply my c++ skills.

      The contribution guidelines are great, especially regarding coding style.

      I'll have a look at the issues.

      posted in Development
      oneyb
      oneyb

    Latest posts made by oneyb

    • RE: Where did everyone go?

      Hi Everyone,

      I initially started with a goal and MySensors suited, and was very approachable. I built it and it still works. I didn't need much help.

      I had a bunch of fun getting things to work and acquired some skills. The work with MySensors helped me get a job as an embedded software engineer, with my environmental sciences i.e. data analysis background.

      Since getting that job, I have moved much more towards minimalism in my private life. As such I am designing simple systems that don't need automating, and asking myself what I need. My current focus during my spare time on ultralight winter backpacking/skitouring as well as vipassana meditation helps me see more clearly what is necessary to be happy. My insight does not bode well for most of current IoT use.

      I may make some noise when I have decided that a certain thing is necessary AND I need help OR if I dare to show off ;). Meanwhile, enjoy the peace and quiet.

      I think when I do get back into MySensors, it will be when I combine my statistics and firmware knowledge: so-called embedded AI applied to inventory management. That is also the solution to truly devalue a cloud connection, in my opinion. Do the work locally (or on your gateway), and say something, if necessary. We'll see if that tendency/thought makes sense in a few years.

      I will also revisit MySensors when I want to build an energy harvesting sensor. This is somewhat proximate. I am not a big fan of batteries.

      Thank you for the support and the handy framework. I am grateful for the simple systems that work, and keep working.

      Going outside now :).

      Kind regards,
      Brian

      posted in General Discussion
      oneyb
      oneyb
    • RE: Raspberry Pi gateway and controller in one

      SSH will get you into your pi. If your pi has a wifi connection and ssh enabled, the following should work.

      ssh pi@raspberrypi.local
      
      posted in Home Assistant
      oneyb
      oneyb
    • RE: PlatformIO not longer working with MySensors

      Hi Elmar

      You probably need to peg the version of MySensors to an older one.

      See some examples here:
      https://github.com/oneyb/template-mysensors-platformio/blob/master/platformio.ini

      Again, please post the contents of your platformio.ini file
      Best wishes

      posted in Troubleshooting
      oneyb
      oneyb
    • RE: PlatformIO not longer working with MySensors

      @fishermans, I would look into this for you but I do not have enough information to be able to reproduce your error.

      The error looks a little strange. Please post the contents of your platformio.ini.

      As a first hipshot, I would try removing .pioenvs and then compile and upload your blobs.

      HTH

      posted in Troubleshooting
      oneyb
      oneyb
    • RE: Atmega328 internal temperature sensor (yes it exists!)

      @mfalkvidd that is pretty nifty. I need to figure out how I can use this. Thanks for keeping this discussion active. Little things like that have the possibility of saving even more power.

      posted in Hardware
      oneyb
      oneyb
    • RE: Multiple Dallas Temperatuur sensors at one sensor node

      @zboblamont would you please direct me to the table/array method. I can imagine a few approaches, but am very interested how you have it set up. Thanks!

      posted in Troubleshooting
      oneyb
      oneyb
    • RE: Arduino has an official CLI app now

      @artag I don't know how to do that generally.

      A quick look at the results of:

      pio device list
      

      will get you the information to insert into platformio.ini. Their doc is pretty good. Maybe try it to the serial id. I haven't gotten so advanced yet. They have some nice examples.
      https://docs.platformio.org/en/latest/projectconf/advanced_scripting.html#custom-options-in-platformio-ini

      posted in General Discussion
      oneyb
      oneyb
    • RE: Arduino has an official CLI app now

      That's funny. I can't stand the Arduino IDE for the same reason. I have to remember where to get a dependency from which menu, select the correct port, and deal with a different editor than I am used to. I also didn't like how it would doctor the code with function declarations etc. It's C++. Why hide that fact? Sure, beginner-friendly is nice and it helped me for blinking LEDs, but afterwards it was annoying. Now I am pretty fast when working with a new board.

      CLI to create a web-based tool that can flash simple sketches.
      That sounds a little funny. So you want to have your web browser (indirectly) accessing hardware ports or at least determining the correct port? I guess that would be ok. I have a bunch of extensions which may not be so secure. I guess for beginners that would be nice. How would you deal with library dependencies? I guess the CLI tool would be advanced enough for that.

      If you are used to python the CLI from platformio is pretty simple. I guess my approach is for those who write code for a significant portion of their day.

      posted in General Discussion
      oneyb
      oneyb
    • RE: Arduino has an official CLI app now

      @oneyb said in Arduino has an official CLI app now:

      $EDITOR platformio.ini src/*cpp

      You missed a bit of 'digging' :).

      I cleaned up the code and pushed it so it will compile, but eventually you will want to dig. Blinking an led gets old.
      Pull in my changes please and then it will compile for you. Then you can start with some fun.
      If you like it, a possible workflow is to fork it and rename it to whatever. As you wish. I hope it helps.

      posted in General Discussion
      oneyb
      oneyb
    • RE: Arduino has an official CLI app now

      No, I haven't. I guess I don't plan on it either. Have you heard of platformio?

      It's pretty damn handy. For those that wish, it has a better IDE than Arduino, fetches dependencies as specified, and above all has a great CLI. If you're interested in compiling and uploading binaries from the CLI, I would recommend you have a look at:

      https://docs.platformio.org/en/latest/core.html

      I know it doesn't answer your question, but I like to have a proper C++ linter running, letting a computer work for me, documenting exactly what I did to get code compiling and uploading, and to edit code in a proper editor.

      A quick start with platformio could be:

      pip install platformio
      git clone https://github.com/oneyb/template-mysensors-platformio blink
      cd blink
      # Do some stuff
      $EDITOR platformio.ini src/*cc
      # and finally:
      pio run -t upload
      

      I hope that helps you to be more efficient. It sure has helped me.

      posted in General Discussion
      oneyb
      oneyb