Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. TRS-80
    3. Best
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by TRS-80

    • Finally, progress! (evidence based radio testing method) (and capacitors)

      Like many, I struggled for a long time to get things working reliably. Finally some progress the last couple days. The biggest leap forward for me was learning about the PingPong sketch, and using it to implement evidence based testing. Along with a couple other small tricks.

      If you are having radio trouble (or reliability trouble in general), I highly recommend starting out with the PingPong sketch, aka GettingStarted.ino example in the RF24 library. In fact, I think I will be flashing this first on all new radio nodes, to test my soldering / assembly, as well as positioning of the node initially, etc.

      As an aside, I also started using PlatformIO recently, I personally find it much less confusing than the official Arduino IDE (and now I can use a real editor! 😁 ). I only mention it because that is the serial monitor command you will see below.

      I am also on GNU/Linux, so I collected my data with a simple tee command on the output of pio device monitor, like so:
      $ platformio device monitor -b 115200 -p /dev/ttyUSB<X> | tee test<Y>

      I then make a copy of the file and call it test<Y>-trimmed, which I then edit by hand to remove header lines at top and also the lines like "*** CHANGING TO TRANSMIT ROLE -- PRESS 'R' TO SWITCH BACK
      ", etc. So we end up with only result lines like the following:

      Now sending 92111...ok...Got response 92111, round-trip delay: 28
      Now sending 93139...ok...Got response 93139, round-trip delay: 29
      Now sending 94170...ok...Got response 94170, round-trip delay: 34
      Now sending 95205...ok...Failed, response timed out.
      Now sending 96408...ok...Got response 96408, round-trip delay: 23
      Now sending 97432...ok...Got response 97432, round-trip delay: 23
      

      Now that I have a "trimmed" file containing only lines of results, I wrote a small bash script to calculate some things from there a little more easily:

      #!/bin/bash
      
      lines_total=$(cat "$1" | wc -l)
      lines_response=$(grep 'Got response' "$1" | wc -l)
      percent=$(echo "100 * $lines_response / $lines_total" | bc -l)
      artd=$(grep 'round-trip delay: ' "$1" | rev | cut -c -2 | rev | awk '{ sum+=$1 } END { print sum/NR }' )
      
      printf 'Lines of Response: %s\n' "$lines_response"
      printf 'Lines Total: %s\n' "$lines_total"
      printf 'Response %%: %.2f\n' "$percent"
      printf 'Average Round Trip Delay (ARTD): %.2f\n' "$artd"
      

      I save it as calculate, make it executable ($ chmod +x calculate) and then execute it with the name of the filename to process like $ ./calculate test1-trimmed which would return something like:

      Lines of Response: 801
      Lines Total: 1016
      Response %: 78.84
      Average Round Trip Delay (ARTD): 25.75
      

      I then plug these results into a table in Orgmode in Emacs, carefully accounting for each variable I thought might be relevant:

      |----+----+----+-------+----+-----+-----+----+-----+------+------+--------+-------+---|
      | TN | SL | RL | STC   | SC | SCL | RTC | RC | RCL |   LR |   LT |    R % |  ARTD | N |
      |----+----+----+-------+----+-----+-----+----+-----+------+------+--------+-------+---|
      |  1 | 1  |  1 | 1,3,4 | 1  | 12  | 2   | 1  | 21  |  878 |  906 |  96.91 | 28.16 |   |
      |  2 | "  |  2 | "     | "  | "   | "   | "  | "   |      |      |        |       |   |
      |  3 | "  |  " | "     | 2  | "   | "   | 2  | "   |  801 | 1016 |  78.84 | 25.75 | 1 |
      |  4 | "  |  3 | "     | "  | "   | "   | "  | "   |  910 |  959 |  94.89 | 23.68 |   |
      |  5 | "  |  4 | "     | "  | "   | "   | "  | "   |  853 |  946 |  90.17 | 25.22 |   |
      |  6 | 6  |  " | "     | "  | "   | "   | "  | "   |  871 |  875 |  99.54 | 23.73 | 2 |
      |  7 | "  |  5 | "     | "  | "   | "   | "  | "   |   28 |  289 |   9.69 | 40.39 |   |
      |  8 | "  |  7 | "     | "  | "   | "   | "  | "   |  684 |  684 | 100.00 | 22.91 | 3 |
      |  9 | "  |  " | "     | 1  | "   | "   | 1  | "   |  600 | 1042 |  57.58 | 34.47 |   |
      | 10 | "  |  " | "     | 3  | "   | "   | 3  | "   | 1014 | 1051 |  96.48 | 24.58 |   |
      | 11 |    |    |       |    |     |     |    |     |      |      |        |       |   |
      |----+----+----+-------+----+-----+-----+----+-----+------+------+--------+-------+---|
      - Key:
        - Abbreviations:
          - TN = Test Number
          - SL = Sender Location
          - RL = Receiver Location
          - STC = Sender Test Conditions
          - SC = Sending Capacitance
          - SCL = Sending Cable Length (mm)
          - RTC = Receiver Test Conditions
          - RC = Receiver Capacitance
          - RCL = Receiver Cable Length (mm)
          - LR = Lines Response
          - LT = Lines Total
          - R % = Response %
          - ARTD = Average Round Trip Delay
          - N = Notes
        - Keys:
          - Locations:
            1. desk in front of keyboard
            2. coffee table living room
            3. dining room table
            4. kitchen counter by stove
            5. floor by front door (previous door switch radio location)
            6. On top of both CPU towers, then plastic box
            7. front door but higher up
          - Test Conditions:
            1. Arduino Nano 5v
            2. Arduino Pro Mini 3.3v
            3. Mismatched length power cables
            4. ferrite choke on USB power cable to computer
          - Capacitor(s):
            1. single 4.7uF capacitor
            2. 1uF + 10uF capacitors
          - Notes:
            1. A lot of interference from me moving my chair/body(?) in between and banging tools on the
               table.
            2. Antenna in vertical plane, face toward dining room table.
            3. Took some effort to align plane of receiving antennae face to face.
      

      Now, I am no where nearly as talented in electronics and radios as some of the guys on this forum, however I do know how to follow basic scientific principles and do experiments... And by doing so, I have been able to learn quite a lot about radio propagation, electronics (ideal decoupling capacitor values), as well as things particular to my own site conditions here. And this is what I wanted to share. Even if you are not an expert, you can do the same and get a much better result.

      For me, I feel like I am finally making some progress (instead of throwing darts in the dark)!

      A few other little details. I want to talk about decoupling capacitors. I know it is already mentioned frequently, but doing experiments as above you can test and really see the difference for yourself.

      First, how to attach the caps? I saw in someone's YouTube video (Great Scott! I think it was) where he had soldered the cap to the top part of the nRF board, I mean where the stub of the header pokes through the board, where you would be soldering to attach the header, opposite side of where you would attach your dupont cables. I thought this was a great idea and I started doing it, too. Keeps it out of the way, and insures a good electrical connection. I never really liked just jamming the leads of the cap into the back of the dupont connector housing. I never was sure it was making a good connection, the wires are easy to bend and they are different lengths, etc... just a big hassle. This way is much better!

      IMG_20200607_124626_DRO.jpg

      Secondly, about decoupling capacitor values. I have heard all kinds of stuff thrown around, from 4.7uF to 47uF to 100uF, and then some people even saying to combine a 0.1uF and a 10uF in parallel. I get the impression, that in most of cases (except the parallel case, or in the case of you few EEs out there 😉 ) that most people are just guessing, and/or parroting stuff they heard somewhere.

      I did a bit of research on this, even started watching one of EEVBlog videos about it (until I started dozing off, lol). Now, I am no EE for sure, but there appears to be something to the parallel thing, which I was able to bear out in testing. Check some of my results above where I purposefully kept all conditions the same, except for swapping out radios with different decoupling capacitor setups. The results (for me at least) were dramatic. For instance look at tests 8 and 9. Now I didn't have a 0.1uF cap on hand, so I used the smallest one I could find which was 1uF + a 10uF. And with that arrangement, 100% Response %! Compared to 57.58% with a single 4.7uF cap. This is at maybe 20m distance inside, through 1 or 2 walls with metal studs and drywall.

      posted in Troubleshooting
      TRS-80
      TRS-80
    • RE: Easy PCB Question

      Hi @grumpazoid,

      I just ordered some of the Easy PCB for the first time, as I am also tired of dickering with spaghetti mess. Therefore I was studying the board recently. Design in general seems quite adaptable to various powering scenarios (battery, 3.3v, 5v, raw, etc...) which I suppose is the point.

      Space on board for resistor divider is built in, although you may need to calculate different values for 18650 as I think what pre-calculated values are for (2x?) AA maybe(?). Not really sure about that part.

      To your specific question, have you examined the information presented about the board over at OpenHardware.io? There is quite a lot of very useful information there. For example, look closely at the regulator part of the board, and the BOM. It appears to be made to accommodate LE33ACZ, which were what I ordered. Not as cheap as the 662K (plus you already have them) but I figured they are only buck or two for 10 of them (shipped), so in my view for the money probably not worth the hassle (my opinion).

      Back to your specific question, I guess your options are:

      • Study pin outs of board, your regulator, and size (662K are quite tiny!) and see if you think you can make it work with those... Or...

      • Do what I did and just order some of the LE33ACZ which I think were designed to be exact fit.

      If you were hoping for some direct confirmation from someone who has done it already, sorry I can't provide that, but since we are roughly in the same ball park I thought I would share my experience / thoughts.

      posted in Hardware
      TRS-80
      TRS-80
    • RE: Cloud storage for home automation?

      Your concerns are absolutely valid! And, BTW congratulations for being one of the few nowadays that question these sort of things (privacy, security) in general, instead of just blindly accepting them!

      Why would you not consider rolling your own? There are a number of inexpensive hardware available, and a number of software choices (and/or combinations of softwares that integrate well together) that will let you do almost whatever you want.

      Going the commercial "out of the box" route may be the easiest to get started, but you may eventually run in to proprietary lock in, incompatibility, and/or missing one or more certain features that you really need (some of which, may not even be apparent at the current time).

      It is for these reasons that I tend personally to lean more in the direction of rolling my own, and using open source software, hardware, etc. You can do whatever you want to, and it's almost always costs less money. 🙂 If things end up not working out with one system, you can change software later and go in another direction, you still own your hardware. But, you will need to spend a little time learning some things. Is that so bad? 🙂

      There are many guides, much useful information, and many helpful communities (like this one!) on the internet nowadays; it's really not that difficult. Plus, it is very rewarding learning and figuring things out and accomplishing them. 🙂

      How much/what kind of data do you need to store? Just the HA setup? Sounds like maybe security system video as well? Video can take up a lot of HDD space (or bandwidth, so much in fact that it is probably not practical to upload). Do you also need a backup solution also for perhaps photos and/or other data?

      Give us a little more information about what you want your ultimate, complete dream system to eventually look like and include, and that will allow us to recommend some hardware and software which will (eventually) meet that goal.

      Begin with the end in mind, I say. It will save you a lot of time, headaches, and $ down the road.

      posted in General Discussion
      TRS-80
      TRS-80
    • RE: Finally, progress! (evidence based radio testing method) (and capacitors)

      I wanted to test my theory that two different value capacitors in parallel was somehow better than one of a similar capacity. So with everything exactly the same as I had left it last night, I soldered up two new radios, except this time with only a single 10uF electrolytic 50v capacitor, instead of 1uF + 10uF.

      Results can be found in "test 10" above. Looks slightly less reliable at 96.48% than test 8 which was 100%!

      Now, I am not going to the trouble of using the exact same radios, desoldering components, etc... I suppose there is a chance that some of these radios might be "better" in some way than others. They did all come from the same batch at least, FWIW...

      Perhaps one of you professional angry pixie wranglers out there can verify that there is in fact something to the "two capacitors of different values in parallel" theory?

      But for me, this is a dramatic improvement over what I was getting before (test 7 being closest approximation), so I think I will get back to building a new gateway and some new nodes, putting to work some of the things I have learned here.

      Cheers! 🍻

      posted in Troubleshooting
      TRS-80
      TRS-80
    • RE: Easy PCB Question

      @grumpazoid said in Easy PCB Question:

      Those cases look good value.

      They are even cheaper on AliExpress, IIRC. I buy through the MySensors store affiliate links whenever possible, but if the price difference is big enough, well... Also some times the store links are not always up to date (thinking further now, I guess the real solution is to probably ping someone about that somehow, in order to get them updated?).

      Often I prefer to directly financially support projects I care about by simply making a donation. Haven't done that in the case of MySensors yet, as they seem to be doing "OK" (although I have no idea really) but I'm sure I will at some point when I am back to work.

      @grumpazoid said in Easy PCB Question:

      Luckily I have access to a 3D printer

      Very nice. This is the best option, of course. I keep thinking about it, and certainly I will pick up (or build) one, sooner or later... For now though, it's still boxes for me. 😄

      @sundberg84 said in Easy PCB Question:

      who needs to be here wathing your hardware questions when you have such a good community - thanks

      Helping out in whatever small way I can is the least I can do in return of the spirit in which so much thought, research, work has been carried out before I came along, and then shared freely here! Cheers! 🍻

      I certainly do not act this way towards proprietary, closed source solutions and their dinosaur business models, and personally I strongly encourage others to take the same approach. Not a single ounce of my valuable resources (time, thought, mindshare, money, etc.) to support them! In fact I would not so much as urinate on those sort if they were on fire! 😄

      posted in Hardware
      TRS-80
      TRS-80
    • RE: Read this first - it could SAVE YOU A LOT OF TIME

      Like many, I struggled for literally years getting MySensors to work. Recently I tried (yet again) and this time around I began by focussing on an evidence based radio testing method, which for me was the key to success. I humbly cross-link it from here in the hopes that it is helpful to others, because it makes me sad reading how many people have given up trying to get MySensors to work.

      Good luck!

      And by all means please do not suffer, struggling along in silence. Make a post and try and get some help before frustration mounts too high, and you give up (as I did, many times).

      posted in Troubleshooting
      TRS-80
      TRS-80
    • RE: MH-Z19 CO2 sensor

      @Joseph-Gill said in MH-Z19 CO2 sensor:

      "simplicity"

      Welcome to the forums, Joseph.

      I am glad to see you put "simplicity" in quotes. Personally, I think that the level of difficulty that is portrayed towards new people (i.e., "it's easy!") is a little misleading. It is easy if you have "The Knack" but perhaps not so for everyone.

      @Joseph-Gill said in MH-Z19 CO2 sensor:

      How hard would it be

      I think this depends mostly on an honest evaluation of your own skills. You will need to have at least basic understanding of the technologies involved: radio propagation, electronics, coding, etc...

      Now, all of this can be learned of course, especially if you have interest, and time...

      So another part of it is also your expectations. If you need something "right now" then you might be happier to go buy something "off the shelf."

      OTOH, if you enjoy tinkering, learning, and want to eventually be able to build all different sort of devices exactly to your specifications and needs, then MySensors might be the right thing for you.

      IMO, I think the best approach is to take this as a hobby, slowly acquiring parts (the least expensive ones take a long time to come from China!) as well as knowledge, and eventually increasing your capabilities over a long period of time. And you will learn (IMO) very valuable skills in the process...

      posted in Hardware
      TRS-80
      TRS-80
    • RE: one question ! about interference wave !

      Somewhat related, is anyone aware of a tool that would allow you to visualize (or otherwise look at in any fashion) RF spectrum, without spending an arm and a leg?

      I know I have an app on my Android called Wi-Fi Analyzer, it's very helpful some times in diagnosing overlapping Wi-Fi channels in a crowded apartment building for example.

      I suppose I was just wondering if there was something more generalized to RF and not Wi-Fi channels specifically?

      posted in Vera
      TRS-80
      TRS-80
    • RE: Your workshop :)

      I enjoyed perusing everyone's work benches. 🙂

      I have a number of other (non electronic) projects already in the works, but when I complete those I'll be setting up a little area to do my electronic piddling. I'm really looking forward to it.

      When I get that set up, I'll post back here. 🙂

      posted in General Discussion
      TRS-80
      TRS-80
    • RE: Finally, progress! (evidence based radio testing method) (and capacitors)

      Not using repeaters, but I am aware that the return from send() is for next hop only. In fact that was part of what convinced me to skip the repeater function in the node I am currently working on, even though it is centrally located and always powered. Well, that plus my radio testing indicating a repeater was not needed as long as I keep all the radios high up on the walls.

      Anyway, I gave it a quick glance, looks nice! I think I might agree with you about the method of logging the time series data, but need to think about it still. I'll dig into it (and that other thread) later on as I'm knee deep in something else at the moment. 🙂

      Thanks for posting up your code! I've pulled enough hair out by now, anything to ease the pain is always greatly appreciated! 🍻

      posted in Troubleshooting
      TRS-80
      TRS-80
    • RE: House renovation, how to a good electrical system oriented to MySensors?

      @sundberg84 said:

      Its a hard question. I wish many times I had power for Arduino in every wall but that would also cost a lost of money.

      That would cost most people a lot of money, especially to retrofit, but he is remodeling / adding electric anyway, so it's just a matter of pulling another small wire or two. And then he would be saving on power supplies for each and every node (he would only need one central power supply / step down transformer in the basement), won't have to worry about batteries, etc...

      What are the building codes in your area however with regards to having low voltage wiring along in the same conduits as your mains wiring? I'm guessing it would need to be run separately in parallel. Is conduit required inside walls or can you run just insulated wire (especially for the low voltage)? These questions are what is going to determine your cost.

      posted in Hardware
      TRS-80
      TRS-80
    • RE: Multimeter recommendation?

      I probably shouldn't contribute to this thread, I just keep picking up those free ones from Harbor Freight!

      /runs away in shame

      LOL

      posted in General Discussion
      TRS-80
      TRS-80
    • RE: [SOLVED] Dropped node: arduino blinks only once

      @kiesel said in Dropped node: arduino blinks only once:

      2 AA rechargables, 1.6V in total

      Mikael beat me to it, this was also the first thing that jumped out at me. Second thing was all those leads poking out everywhere, maybe trim those up, any one of them touching a ground plane could be causing a short or other issues.

      posted in Troubleshooting
      TRS-80
      TRS-80
    • RE: A $6.61 "linux computer" that's about the size of an Arduino Pro Mini...

      @neverdie said in A $6.61 "linux computer" that's about the size of an Arduino Pro Mini...:

      @nca78 At least in the past, the trouble I had with non-raspberry pi SBC's is that the linux software coverage for them was typically spotty/buggy. Has that improved at all, or is it still a big risk?

      Things have improved a lot the last few years, as long as you are careful in device selection.

      Don't become enamoured with hardware specs only. Some of these SBCs look great "on paper" but the software (driver) support is awful and they are stuck on some old kernel because the Chinese mfr. do not understand anything about what is Free Software and do not cooperate with the community in releasing documentation so we can write drivers, etc. Also look for good community support around the device in question. But typicaly this will be ~= the above (the more open the device, the more, better, and longer term support).

      If you do a little homework though, you will be alright. Some good resources to get started are Armbian (stick to their Supported Devices list, and you will have a good result), https://www.fsf.org/resources/hw/single-board-computers, and linux-sunxi, etc...

      posted in Hardware
      TRS-80
      TRS-80
    • RE: Raspberry Pi is frustrating and I wanted to vent

      I just so happened to be shopping for a Micro SD card recently, to expand the storage on my phone.

      Very carefully reading the reviews, some people, even ordering directly from Amazon (i.e., not a reseller) apparently have had problems! Much of the review discussions are, in fact, centered around determining whether you have a fake or real card. And this is on Amazon, even!

      I'm just about as cheap as they come, but buying certain things (storage media being one of them), I bite the bullet and make sure I am getting genuine brand name, and from a reputable dealer.

      Especially when "biting the bullet" only amounts to a few more dollars anyway! It's just not worth the frustration and your time diagnosing.

      posted in General Discussion
      TRS-80
      TRS-80
    • RE: [SOLVED] Dropped node: arduino blinks only once

      Yaay! 😄

      Thanks for reporting back.

      posted in Troubleshooting
      TRS-80
      TRS-80
    • RE: mysensor gateway with ENC28J60 Ethernet doubts!

      In the meantime, check some of the things I mentioned. And/or, keep reading and searching Internet. You might make some progress. Keep reporting back how you are coming along, steps you tried, etc...

      Just be methodical. Take notes, etc... You can do it!

      posted in Hardware
      TRS-80
      TRS-80
    • RE: Anyone here tried one of the PCB assembly services?

      There are several much more talented people than me working on several different solutions to common problems and doing great work at miniaturization.

      I have been dorking around for so long trying to put together basic things, that I will probably just wait for some of these other projects to come to fruition 🙂 (and yes I know some have already).

      That combined nrf + atmega328 in qfn is another such great idea. I'm a little shocked no one has done it already, honestly. Or maybe other existing implementations were not good? But that is exactly what we need.

      Well that and the one integrated power supply (among others). That was a long thread but a great read. I learned a lot (still haven't finished it).

      So like @NeverDie, I also look forward to hearing about what you come up with @waspie with great anticipation.

      posted in General Discussion
      TRS-80
      TRS-80
    • MySensors Controlled LED Accent Lighting (and/or Christmas Lights?)

      OK. So the idea I had was to use MySensors + nRF24L01radios to make some nodes to remote control some individually addressable LED light strips. All the components (including the LED light strip) are pretty inexpensive nowadays. And with a strip of LEDs (and any number of small, inexpensive nodes to control them), you could cut and use little bits of strip almost wherever you want throughout your house.

      Some things I had in mind were:

      • A node with a motion sensor in the hallway that would (during night time hours) automatically light your way with a (not too bright) white LED light coming from underneath a low shelf.

      • Under cabinet kitchen lighting. Again, could be intelligently controlled to come on (at low intensity) depending on time of day (via a, perhaps separate, motion node).

      • Any sort of under shelf accent / reading light by sticking some strip to the underside of some of that IKEA Lack shelving that you can install almost anywhere and you can't see how the shelf is hung because the hardware is inside of it. I think this sort of battery operated node would look very clean and work well with that, without needing wires running everywhere.

      • Going the other direction, it could also be directed upwards out of some sort of wall sconce or high wall or trim feature.

      • For your battle station (PC) 🙂 including potentially inside the case, or really just about anywhere you wanted some accent lighting.

      • No reason you could not use it to control Christmas lights on your tree, inside, outside, including color and moving patterns.

      Now of course I know that any more than a few LEDs will need a local power supply. Most of the places I would like to put any significant number of lights (entertainment center, battle station) have power available, so this will not be a problem (for me at least).

      I think this is a really good idea, in fact, I think if I get this all worked out it may become very popular use of MySensors as an almost universal lighting system.

      I am just now beginning the planning phases, I have found a couple projects where people have done some stuff with MySensors and LEDs but nothing I think to the sort of universal and customizeable extent that I am sort of imagining. Of course, if I have overlooked something, please point me in a direction before I get too much time/work/research into this, no need to re-invent the wheel after all. 🙂

      Other than that, I welcome everyone's thoughts, as I said I have just begun the research and planning phases. I'm Excited! 😃

      posted in My Project
      TRS-80
      TRS-80
    • RE: Ethernet Gateway - how reliable is it? which problems and how to avoid?

      I think you should stop spamming the same topic in a bunch of different threads.

      In fact, I think mods should merge and/or delete all these secondary threads, and possibly even warn.

      posted in Hardware
      TRS-80
      TRS-80
    • RE: Hobbyist Project Management / PDM?

      This may or may not be the answer you are looking for, but I have taken a very big interest in Personal Information Management (PIM) over the years and tried out many different systems and thought about the subject quite a lot.

      I became so frustrated over the years running into so many dead ends (lacking functionality), incompatibilities (often times purposefully (i.e., proprietary software, walled garden, vendor lock-in, etc...), arbitrary limitations, etc. that I have moved more and more not only into Free Software but also making sure I stick to open protocols and formats. Because I just don't have the time nor energy any more to keep re-inventing the wheel all the time, learning new software, moving my work/information between incompatible systems, etc...

      In particular I have gravitated towards using text files as a sort of lowest common denominator universal format. This began for me when I was trying to synchronize bookmarks across several different browsers and OSes (which, at the time, happened to be Android and Windows). I ended up just learning basic HTML and making my bookmarks in a handful of interlinked files. Totally universal, fully customizeable, and available on any platform with a browser (where you would need to use the links anyway).

      I could go on and on but I will try to get back on the topic of Project Management. Around the same time I started thinking that text files were the answer to data portability, I was also becoming aware of (what I now think is) the best tool I have ever found for editing text, Emacs. And then when I discovered Orgmode, it was all over. 😄 Now, remember that the underlying file remains simple plain text, but Orgmode gives you:

      • outlining (nested levels, etc.)
      • tagging
      • hyperlinks (to urls as well as local files, certain locations in other files, emails(!), etc.)
      • small tables / spreadsheets (including math!) right in the middle of your notes [1]
      • TODO functionality
      • time / date stamps, timers, etc.
      • functional (!) code blocks [2]
      • full text search
      • and many more

      Note 1: This is an incredibly useful and often used feature for me. See around 6:03 in the first, or 6:57 in the second video, below.
      Note 2: What this means is you can put some code of a certain type in a code block, open the code block in a mini editing mode for that particular language (including syntax highlighting, completion, etc.) and even execute the code. Pretty far out. Also very useful for code snippets of Arduino (which is just C++ really), or anything else, really... See 12:40 in first video.

      Well, I didn't really "get it" until I had watched a couple videos:

      This video is longer, but was one of the ones that convinced me (actually I think I only got like halfway in before my mind was so blown that I had seen enough and was convinced 😄 ) :
      Getting Started With Org Mode – 56:21
      — thoughtbot

      Here is a shorter one that you may prefer instead:
      org mode is awesome – 18:07
      — John Kitchin

      Although I recommend eventually watching them both (if/when you have time).

      You can then go on to synchronize your files using something like Syncthing across all your devices, or if you prefer, self hosted Git as you mentioned (I use either/both, depending on nature of the information) as they are just text files at the end of the day (perhaps with some linked related design files, etc.).

      I think it may be the only software I have ever used where I have yet to run into any sort of limitation. Not only that, but by now (a couple years in) I have even started writing some (rudimentary) Lisp functions to do custom things the way I like. For instance I made myself a "photo tagging mode" that operated exactly the way I wanted.

      I think this is because (almost) the whole thing (Emacs) is written in Lisp, and therefore is extensible. And as you can imagine, when you put this sort of tool into the hands of hackers and give them 40+ years(!) to hack on it, well you can imagine what they can and have come up with. It is sort of a running joke that Emacs is more of an "operating system" or "environment" than a "text editor" but it is also very true. 😄

      I have not looked for specific additional tools for Project Management as you ask for, per se, within Emacs because I have not felt the need for them, personally. However, if you look around, it would not surprise me at all if you found something that may tickle your fancy...

      Now there is a famous learning curve, and I will not deny this. I took me several times coming across information about Orgmode before I became interested enough to take the plunge. And then it took me a couple/few attempts to get off the ground with Emacs (you might find the basic navigation "weird" at first by modern standards, but now that I am used to it, I actually have my entire OS set up to work this way [3]). Anyway this is a fair criticism.[4] But now that I am over that initial hump, I feel like there is pretty much no situation that I cannot accommodate within this system I have learned. So I view it a a worthwhile tradeoff of my time for a very, very powerful tool that can do, well, pretty much whatever I can imagine. And Orgmode is just the "killer app" or "gateway drug" into Emacs... There is a ridiculous amount of other things you can do with it...

      Note 3: Yes! This is possible in XFCE(!)
      Note 4: If anyone is interested, I can give some pointers. Basically, sit down when you are not in a rush to produce some results "right now" and therefore in a proper mindset to learn. Like a weekend morning, or something like that. Get yourself a nice cup of coffee or your favorite beverage and start working through the built in tutorial inside Emacs. It really is great and gets you going starting from zero by baby steps.

      posted in General Discussion
      TRS-80
      TRS-80
    • RE: LG TV controller

      @Smurphen said:

      I'm currently doing that. When my TV turns on, the light behind my TV also turns on. But because I don't want to spam my TV with requests, there can be up to 30 seconds delay before Domoticz knows that the TV is on or not. But there is also a USB port behind my TV. I have noticed that there is only power in the USB when the TV is on. So I thinking of connecting the USB port to my Arduino to check if the power is on or not.

      Why not have the Arduino keep polling the TV to see if it's on, and then only when it is on, then send some signal to your controller (Domotics) that the TV just came on. Then Domotics could do whatever (turn on/off other lights, etc...)? Power (battery) is not a concern on this node, as it's powered by USB.

      posted in My Project
      TRS-80
      TRS-80
    • RE: Best choise for a controller

      @NeverDie said in Best choise for a controller:

      @TRS-80 Have you decided yet which platform you do like? And if so, what is it?

      When I started shopping a few years ago, I followed the advice from linux-sunxi and Armbian and I purchased a Cubietruck, which at that time was the best device (IMO) for a network attached storage type of device, to also run some services on. And the advice was very good, as the platform has not only run absolutely flawless these last few years, but has also continued to see updates, etc., exactly as predicted. I am on a recent kernel, and have full normal Debian software repository available to me! Very nice!

      Incidentally, I run all sorts of services on it, not only HA controller (openHAB, which is a big Java based thing), but also network file storage, private XMPP Instant Messaging server (Prosody) for our family, and even more recently, even an email(!) aggregator, collecting from several different platforms and email addresses. And I only started with Linux with this device a few years ago, and look how far I have come already. Yes there is an investment to learn it, but so much professional level software is available that it is mind-boggling to me. Next I will set up completely private and self-hosted VoIP/video between some houses of our family!

      Anyway, sorry, back to topic...

      Right now I am waiting for 64-bit ARM to mature/stabilize, devices based on RK3399 are exciting (in theory) but I am starting to wonder if they will ever get the bugs worked out. If not these, then something else later perhaps...

      (I want to run ZFS which requires 64-bit)

      In the meantime I got impatient, I needed a little more CPU grunt for some software motion detection of my IP cameras (using Motion) and so I pulled the trigger on a couple ODROID-XU4 which are still 32-bit but have tons of horsepower (if running a bit hot) and have dropped a lot in price lately (I only gave $50 each for these octo-CPU USB3 true gigabit ethernet monsters (!) ).

      But it is very application specific. If I had to buy another "front end" type of device for example for the living room TV, I would nowadays probably purchase something AM90x based, as from my reading these blow RPi out of the water in HDMI output (I still have the RPi in the living room running Kodi, it was one of the first devices I purchased before I knew any better). 😄

      Also the market is evolving constantly (although sort of slowly). What I mean is, new devices come out all the time with what seem (on paper) to be amazing specifications. But if the Chinese manufacturer is not following GPL and/or working with the community (releasing docs, etc.) then their device will never be well and fully supported in Linux, which is what you are really looking for long-term and why for example I have had such a good experience with my Cubietruck...

      It can, admittedly, be a lot to follow, but a TL;DR for starters would be to stick with Armbian "recommended / stable" devices meeting whatever specs suit your application and you will have a much better time... And then for more info, start incorporating the links I posted above into your reading (especially Armbian forum), because the situation is constantly evolving...

      I actually started even supporting a few dollars/month to Armbian now for several months, because I think what they are doing is so important in this evolving market right now...

      posted in Controllers
      TRS-80
      TRS-80
    • RE: MySensors Budget / Finances? Healthy?

      I couldn't agree more! If only! 😄

      In fact, I had originally in my post (edited out) something along the lines of how, quite predictably, PayPal have become "too big for their britches" with all sorts of obnoxious behaviour as many people assume they are now the only game in town (and maybe they are). But it is not good for anyone (other than PayPal) when one single provider controls that much of any market. Unfortunately that is all too often the case these days... 😞

      posted in General Discussion
      TRS-80
      TRS-80
    • RE: LG TV controller

      @Smurphen said:

      @TRS-80 For some reason, if i'm sending request too frequently the response from the TV get mixed up and unreadible. Sometimes it takes few seconds for the responses too arrive.

      If I'm also changing volume or maybe channel via arduino and that is happening at the same time as arduino is checking power status, it will get som weird response. But this is only a problem when the TV is on, so you have point. I should be able to change the frequens when the power is off to maybe 5 seconds and keep 30 seconds when the power is on.

      Perhaps further debugging and/or careful programming and error trapping between Arduino and TV could alleviate some of those problems? And/or, once TV is set to on, have Arduino check less frequently?

      I still would prefer the former solution over the latter, to make it more nice, faster response, and higher WAF as well as "show off to friends" factor. I mean, let's get our priorities straight, that is at least partly why we do this, right? 🙂

      posted in My Project
      TRS-80
      TRS-80
    • RE: Best choise for a controller

      @NeverDie said in Best choise for a controller:

      Which OS do you recommend for running ZFS?

      I have done a fair amount of research into ZFS although that was a couple years ago. ZFS started out at Sun Microsystems a long long time ago, and was native on (Solaris maybe?) and then it was ported to / available on BSD for a long time. It is generally regarded as being stable and well supported on the BSDs since a long time now. But I am a GNU/Linux guy. 😉 Ubuntu is of course based on Debian, but I dislike Ubuntu project for many reasons and consider it a meme operating system (IMHO why not just use Debian?).

      Anyway, some years ago the ZFS on Linux project began, and as of a few years ago it seemed to me that project not only had much more professional type backing behind it (Lawrence Livermore National Laboratory, among others) but also seemed to be much more stable and reliable than BTRFS. Now I am much more of a "Free Software" than an "Open Source" guy, so I am rooting for BTRFS, but IMO you cannot screw around with something so important as file reliability, especially when the entire purpose of these improved filesystems is to be more reliable in the first place...

      Anyway, those factors, plus doing a lot of research on ZFS (study it's history, and why it was created in the first place, and also it's architecture of doing away with several legacy layers left from old file systems and beginning with a fresh design from the ground up) and like me you may also conclude that ZFS is the horse to bet on going forward. And by now (a few years later) I would be willing to bet that it is getting fairly stable on Linux (at any rate there is clearly a lot of development going on).

      Once/if you reach the same conclusion I have, the next step is choosing hardware. ZFS requires 64-bit (and also ECC is recommended, but first things first). Apparently this is much more important than "a lot of memory" which is actually somewhat of a misnomer as it is only required for de-duplication (or certain other features, may be mis-stating exactly which ones).

      As 64-bit x86 is a non-starter for me (for many reasons as already stated above), I continue waiting for 64-bit to mature on ARM, so that I, a mere peasant, may also enjoy enterprise-grade file system reliability, at a low cost using commodity hardware, and without having to give up any freedom or security. 😄

      If you are interested in learning more about what will be required to set up ZFS, I can recommend the following links:

      • http://open-zfs.org/wiki/Hardware - For general understanding, but also the link to Marc Bevand's blog post From 32 to 2 ports: Ideal SATA/SAS Controllers for ZFS & Linux MD RAID is excellent. And in general there is a wealth of information in that wiki, more than you could ever want or need to know about ZFS probably.
      • Wikipedia ZFS article is actually quite long and detailed, and gives a decent overview of the history and licensing issues / controversy.
      • There was one more really good entry level article that I read a long time ago, that laid out all the most important points in a very approachable way, but I just spent quite some time searching for it and still came up empty handed. I think that was back before I started taking notes on everything I do in Orgmode. 😄 Anyway, have to get back to work now...
      posted in Controllers
      TRS-80
      TRS-80
    • RE: Node registration problem

      That sounds more like lucky coincidence to me than actually pinpointing the problem.

      Glad it's back to working for you though.

      posted in Development
      TRS-80
      TRS-80
    • RE: Suggestions for my setup? Very new here.

      @Sasquatch said in Suggestions for my setup? Very new here.:

      avoid cloud based sensors at all cost for security and future proofing reasons.

      +1

      All that "cloud" means is "someone else's computer." 😆

      If you do not understand how anything works and just buy some device(s), you will most likely be at mercy of high priced, proprietary locked-in solutions. But as you increase your knowledge, you (greatly!) increase your options and freedom to make different choices!

      At least you are doing research, good for you, keep it up!

      @Smart-Projects-ABC said in Suggestions for my setup? Very new here.:

      Support Google Home Assistant or Amazon Alexa. One of these will be your main control interface.

      I disagree with this. Yes I know vast majority of people will do this because "it's easier." However those things creeps me out, personally I would never have one in my home.

      I was able to get full and custom (much better than Amazon/Google, actually) voice control in my system using completely F/LOSS Software and Hardware. Yes it took a little more work to set up. But for me, well worth it. And I actually not only have freedom and privacy, but also quite a lot more functionality than what I see friends are able to do with their proprietary solutions.

      posted in General Discussion
      TRS-80
      TRS-80
    • RE: Node registration problem

      I just had to read through the thread again to make sure I was not mixing you up with someone else. But no that's not it, and yes this is the right thread I am thinking of.

      It sounded like radio propagation issues to me. I think the gateway thing was a coincidence. I can be wrong of course, maybe it was the gateway after all (or something else).

      I wasn't being sarcastic, I really do hope it keeps working for you. I guess we will see...

      posted in Development
      TRS-80
      TRS-80
    • RE: Suggestions for my setup? Very new here.

      @projectMarvin said in Suggestions for my setup? Very new here.:

      I would advise against messing with the FW unless you need to

      I agree with general gist of your whole post, except this one point.

      If we are talking about stuff like {Tasmota, ESPurna, ESPEasy, etc.} this "messing with firmware" is how you achieve freedom / independence from "clouds" / etc. and by now has become quite mundane and easy, even being able to do so over the air, with no need of soldering.

      Other sorts of devices may lead to other conclusions where firmware tinkering may be much more difficult.

      Of course, technically you are correct by saying "unless you need to." However in my view (apparently yours as well 😉 ), independence from "clouds" is a "need."

      Cheers!

      posted in General Discussion
      TRS-80
      TRS-80
    • RE: What is the "robust" way to sleep / send messages?

      This is a pretty complicated example / problem. I think maybe why you have not received any replies. I know I had to read multiple times, and even then, I am still not sure I understand the problem.

      Maybe try to break it down to one particular part of the problem, so us mortals perusing the forums whilst enjoying our coffee in the morning can at least have a chance at understanding it. 😉

      Have you made any progress on this in the meantime?

      posted in Development
      TRS-80
      TRS-80
    • RE: BATERY CHARGER CONNECTION ?

      @Sasquatch said in BATERY CHARGER CONNECTION ?:

      Tp4056 is linear regulator, very inefficient, look at spv1040 or spv1050 instead - MPPT tracking propper solar chargers.

      C-x b wiki.org -> Electronics <TAB> -> Components <TAB> -> Power -> C-u M-<RET> to create new sub-heading ("MPPT tracking solar chargers"), paste (Yank) useful info for future reference. 😉

      posted in General Discussion
      TRS-80
      TRS-80
    • PlatformIO instead of official Arduino IDE?

      Personally, I just started using it and prefer it a lot over the official IDE. Since I seem to now have at least one convert now (and it has come up in other threads too lately) I figured well maybe better to make a separate thread.

      I did a search, and there are some discussions going all the way back to 2016 (at least) which surprised me a bit, because (personally) I did not hear about PlatformIO until much more recently it seems.

      The main guy behind PlatformIO, Ivan, even has an account here and replied to a lot of questions before which I thought was very cool!

      The official IDE had almost turned me off entirely to Arduino development at one point. Now I tried again recently, and started out this time with PlatformIO and it has made all the difference for me! Developing on Arduino seems fun again! And much more organized (apparently to me fun == organized, but remember, I'm descended from Germans! 😄 )!

      Discuss.

      posted in Development
      TRS-80
      TRS-80
    • RE: PlatformIO instead of official Arduino IDE?

      @electrik said in PlatformIO instead of official Arduino IDE:

      much easier to use with different library or platform versions on one system

      Yes! This is what I meant by finally feeling organized!

      For those who haven't used PlatformIO, you just do $ pio project init --board pro16MHzatmega328 (for example) in whatever directory, and it sets up folder structure and everything. Then there is a platform.ini file where you can specify what libraries you want to use (even pin them to specific versions!) and they will be automatically downloaded and put into appropriate folders within the current project only. So very easy and clear to keep libraries separated between projects.

      Here is my platform.ini for recent project with MySensors and Dallas Temperature libraries:

      ; PlatformIO Project Configuration File
      ;
      ;   Build options: build flags, source filter
      ;   Upload options: custom upload port, speed and extra flags
      ;   Library options: dependencies, extra library storages
      ;   Advanced options: extra scripting
      ;
      ; Please visit documentation for the other options and examples
      ; https://docs.platformio.org/page/projectconf.html
      
      [platformio]
      default_envs = pro16MHzatmega328
      
      [env:pro16MHzatmega328]
      platform = atmelavr
      board = pro16MHzatmega328
      framework = arduino
      lib_deps =
        548  ; MySensors
        54   ; DallasTemperature
      

      You can specify Libraries either by their name or number. I do by number because it's more accurate IMO. But the results will be sorted by popularity, so for example if you searched for (or specifed in your platformio.ini file) "MySensors" you would still get lib number 548 anyway. It's all very slick and well thought out.

      posted in Development
      TRS-80
      TRS-80