Firmware flash not working (and why is this necessary?)

Firmware flash not working (and why is this necessary?)

I just bought a Seeed Studio Wio Tracker L1, and - well, I'm confused.

Part 1: The problem

I'm trying to follow the guide on https://wiki.seeedstudio.com/get_started_with_meshtastic_wio_tracker_l1/ and it says to visit meshtastic.org, clidk Flasher, select target device, and click the trashcan to erase. In this process, I have to connect to the device, and it's on e.g. /dev/ttyACM0 (I'm on Ubuntu).

So my computer definitely sees it, and it's not a data cable problem:

https://preview.redd.it/mjignkhkithh1.png?width=447&format=png&auto=webp&s=04fa5cf9d92f5b766f8597ec922ca992fe08749b

So I connect, but after a while, I get this:

https://preview.redd.it/zy27569mithh1.png?width=408&format=png&auto=webp&s=d311a16bac1f72d836622be2772e968240551e6b

I've tried ten times now - always with the same result. What am I doing wrong?

Part 2: Why is this necessary?

As far as I can gather, this device is made solely for use with meshtastic. I can't see any other way to use this device. Which begs the question:

Why is the correct software not on the device already? Why do I have to do this myself, when you could have done it before shipping it?

It's not like there's nothing on it - some other software is obviously installed on it. Why bother to install something that you have to replace with something else to even use the thing?

And why am I the only one not understanding this? I would have expected this to be at the very top of the list of Frequently Asked Questions, but this is apparently not something that confounds anyone but me.

Please bear with me - this is my first venture into the world of Meshtastic.

reddit.com
u/oz1sej — 13 days ago

How to leave a network and rejoin as another device?

I have a few Raspberry Pies that are all on a Zerotier network. They all run the same software, so I've only made one image file I can flash onto an sd card when one goes down. However, when I made that image, the Raspberry Pi had already joined the Zerotier network as one device. So now, when I need to flash another one, I need to leave the network and re-join as the original device. Is that even possible, and if so, how?

reddit.com
u/oz1sej — 14 days ago
▲ 2 r/Ubuntu

Problem with local website on local domain on Ubuntu: Root dir works, but subdirectories don't

I have the files for a website locally on my Ubuntu laptop in /home/user/dir1/dir2/

I've made a folder in /var/www/html/ called /var/www/html/dir2 and inside that a symlink

lrwxrwxrwx 1 root root  37 Aug  3 14:02 public_html -> /home/user/dir1/dir2

I've created a file /etc/apache2/sites-available/dir2.conf containing

<VirtualHost *:80>
    ServerName dir2
    DocumentRoot /var/www/html/dir2/public_html
    <Directory /var/www/html/dir2/public_html>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
    <Directory /home/user/dir1/dir2>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/dir2_error.log
    CustomLog ${APACHE_LOG_DIR}/dir2_access.log combined
</VirtualHost>

Funny thing is, when I visit http://dir2/ in a browser, I see my website! But anything in subdirectories, for example images, aren't shown. And when I right click on them to view them, e.g. http://dir2/icons/c.png I get a 404!

The file is there! I can see it in both /home/user/dir1/dir2/icons/c.png and /var/www/html/dir2/public_html/icons/c.png - but apache won't show it! Requesting the file directly gives a 404, whereas requesting the folder gives a 403, but I guess that's because directory browsing is disabled...?

The user www-data is member of the group user (my username) and I'm completely out of ideas now.

Any suggestions will be greatly appreciated.

reddit.com
u/oz1sej — 15 days ago
▲ 1 r/apache

Problem with local website on local domain on Ubuntu: Root dir works, but subdirectories don't

I have the files for a website locally on my Ubuntu laptop in /home/user/dir1/dir2/

I've made a folder in /var/www/html/ called /var/www/html/dir2 and inside that a symlink

lrwxrwxrwx 1 root root  37 Aug  3 14:02 public_html -> /home/user/dir1/dir2

I've created a file /etc/apache2/sites-available/dir2.conf containing

<VirtualHost *:80>
    ServerName dir2
    DocumentRoot /var/www/html/dir2/public_html
    <Directory /var/www/html/dir2/public_html>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
    <Directory /home/user/dir1/dir2>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/dir2_error.log
    CustomLog ${APACHE_LOG_DIR}/dir2_access.log combined
</VirtualHost>

Funny thing is, when I visit http://dir2/ in a browser, I see my website! But anything in subdirectories, for example images, aren't shown. And when I right click on them to view them, e.g. http://dir2/icons/c.png I get a 404!

The file is there! I can see it in both /home/user/dir1/dir2/icons/c.png and /var/www/html/dir2/public_html/icons/c.png - but apache won't show it! Requesting the file directly gives a 404, whereas requesting the folder gives a 403, but I guess that's because directory browsing is disabled...?

The user www-data is member of the group user (my username) and I'm completely out of ideas now.

Any suggestions will be greatly appreciated.

reddit.com
u/oz1sej — 15 days ago
▲ 1 r/mysql

Trouble creating a local installation with phpmyadmin

I just upgraded my laptop to Ubuntu 26. I need a local web development environment with MySQL, PHP and phpmyadmin, so I installed those. Phpmyadmin prompted me if I wanted to use dbconfig-common, and unfortunately I clicked yes. This created an installation which doesn’t work the way I’m used to.

The primary problem is that the user phpmyadmin doesn’t have rights to create databases, so I logged into mysql as root in a terminal and created a database, which I can’t see when I log into phpmyadmin as phpmyadmin. If I try to log into root in phpmyadmin, I get

>mysqli::real_connect(): (HY000/1698): Access denied for user ‘root’@‘localhost’

I tried uninstalling phpmyadmin and reinstalling, but it just recognized that I used dbconfig-common last time, and reused that 🙄

What should I do?

reddit.com
u/oz1sej — 16 days ago

Jordslåede fliser og fuger på malet flisevæg

Jeg har et ældre badeværelse (1977) med brune vægfliser, som er malet lysegrå. Har prøvet at sprøjte rodalon på og lade det sidde en times tid og så skylle efter, men det hjælper ikke stort. Vil nødig skrubbe for meget på fliserne for ikke at skure malingen af.

Hvad ville I anbefale?

u/oz1sej — 18 days ago
▲ 11 r/dkbiler

Volkswagen-app til ID.3 virker ad h... til

- er det bare mig, eller hat andre samme oplevelse? I flere timer ad gangen kan den slet ikke få forbindelse til serveren.

For et års tid siden kunne jeg gå ind i indstillinger og bede den lade op til 100%, men nu virker det ikke mere. Nu skal jeg ud i bilen og vælge det...?

reddit.com
u/oz1sej — 23 days ago
▲ 69 r/privacy

Does anyone have a link to a site where someone maintains a list of TV sets that work without an internet connection?

I need a new TV, but I don't want it to spy on me. So I'd like to buy one without camera and microphone.

reddit.com
u/oz1sej — 27 days ago

Is an internet connection really necessary for a remote speaker to work?

I just bought a Denon CEOL RCD-N12DAB. I told the guy in the store I considered buying an extra wireless Denon speaker for the kitchen (HEOS?) and he said that that required that both Denon units had an internet connection.

I said surely, a *network* connection must be sufficient, but he insisted that an internet connection was necessary.

If true, that is a very unsympathetic move for Denon. Its none of Denon's business how I use my own hardware.

So: Is the guy in the store right, or is a network connection sufficient?

reddit.com
u/oz1sej — 27 days ago

I just bought a Volla Plinius with Ubuntu Touch: No Danish language, no fingerprint sensor, no eSIM support - can this be true?

reddit.com
u/oz1sej — 1 month ago
▲ 0 r/LegalDK+1 crossposts

Økonomisk risiko ved renovering af badeværelse

Jeg vil gerne renovere mit badeværelse, men i bebyggelsen går der rygter om, at nogle af husene har badeværelser, hvor fliserne er monteret med fliseklæb, der indeholder asbest.

Et hus har måttet totalrenoveres, det tog måneder og kostede en formue, som forsikringen imidlertid betalte. Min frygt er, at mit forsikringsselskab ikke vil betale, fordi der nu er en kendt risiko - og så står jeg med et hus, der *skal* totalrenoveres - for egen regering. Er det et realistisk scenario?

reddit.com
u/oz1sej — 1 month ago

Looking for help on how rotctl communicates

I'm looking for forum where I can ask questions - and hopefully get some qualified answers - regarding how rotctl works and communicates.

I'm trying to write a simple Arduino program to receive commands from rotctl and respond to them. In order to try and figure out exactly which strings are sent and how I should respond to those, I've set up a virtual serial port with

$ rotctl -m 201 -r /dev/pts/1 -s 9600

\-that I can monitor, and when I send e.g.

Rotator command: P 123 45

\-I immediately see

AZ123.0 EL45.0 UP000 XXX DN000 XXX

\-so it works! *Except* when I send a "p" to get the position. I don't get *anything* on the serial port, but rotctl immediately writes

Rotator command: p
get\_pos: error = initrots4\_easycomm called
rot\_register (201)
rot\_register (202)
rot\_register (204)
set\_conf: called
rot\_open called
serial\_open: /dev/pts/1
serial\_setup: tcgetattr
serial\_setup: cfmakeraw
serial\_setup: cfsetispeed=9600,0x000d
serial\_setup: cfsetospeed=9600,0x000d
serial\_setup: data\_bits=8
serial\_setup: parity=0
serial\_setup: Handshake=None
serial\_setup: tcsetattr TCSANOW
read\_string\_generic called, rxmax=4095 direct=1, expected\_len=1
tcflush
Backend version: 20220109.0, Status: Stable
rot\_get\_position called
Feature not available

Why am I getting this rather anonymous error when nothing has been written to the serial port, and the rotator thus doesn't have a chance to respond?

So if nobody here knows the answer, I'd appreciate a link to another forum...

EDIT: And before you say "Why don't you just use the K3NG rotator controller?", it's because I'm using servos, and it's not made for servos.

reddit.com
u/oz1sej — 1 month ago

Looking for help on how rotctl communicates

I'm looking for forum where I can ask questions - and hopefully get some qualified answers - regarding how rotctl works and communicates.

I'm trying to write a simple Arduino program to receive commands from rotctl and respond to them. In order to try and figure out exactly which strings are sent and how I should respond to those, I've set up a virtual serial port with

$ rotctl -m 201 -r /dev/pts/1 -s 9600

-that I can monitor, and when I send e.g.

Rotator command: P 123 45

-I immediately see

AZ123.0 EL45.0 UP000 XXX DN000 XXX

-so it works! Except when I send a "p" to get the position. I don't get anything on the serial port, but rotctl immediately writes

Rotator command: p
get_pos: error = initrots4_easycomm called
rot_register (201)
rot_register (202)
rot_register (204)
set_conf: called
rot_open called
serial_open: /dev/pts/1
serial_setup: tcgetattr
serial_setup: cfmakeraw
serial_setup: cfsetispeed=9600,0x000d
serial_setup: cfsetospeed=9600,0x000d
serial_setup: data_bits=8
serial_setup: parity=0
serial_setup: Handshake=None
serial_setup: tcsetattr TCSANOW
read_string_generic called, rxmax=4095 direct=1, expected_len=1
tcflush
Backend version: 20220109.0, Status: Stable
rot_get_position called
Feature not available

Why am I getting this rather anonymous error when nothing has been written to the serial port, and the rotator thus doesn't have a chance to respond?

So if nobody here knows the answer, I'd appreciate a link to another forum...

EDIT: And before you say "Why don't you just use the K3NG rotator controller?", it's because I'm using servos, and it's not made for servos.

reddit.com
u/oz1sej — 1 month ago
▲ 3.6k r/liminal+1 crossposts

Long, quiet waves in Kattegat, Denmark, two days ago

u/oz1sej — 1 month ago

Fysiske elektronikbutikker?

På Frederiksborggade ligger den eneste, fysisk elektronikbutik, jeg kender nemlig Elextra (tidl. Brink Elektronik), hvor man kan købe loddekolber, byggesæt og komponenter.

Findes der andre? Eller er det den eneste, fysiske elektronikbutik, der er tilbage i Danmark?

reddit.com
u/oz1sej — 2 months ago

Trouble with a apex chart: Graph only shows integer values

I'm receiving electricity prices via the EnergiDataService sensor. The values are obviouly floating-point - right now, it's 0,391353453125 DKK/kWh. I'm using an apex chart to show the value for the next 24 hours, but somehow it's being rounded to nearest integer, as can be seen here:

https://preview.redd.it/lor3xie2je8h1.png?width=411&format=png&auto=webp&s=74181c44f8e010f527b65513e0c157437b0e7695

And I cannot figure out why. This worked just fine for years, until about a month ago. As far as I remember, I haven't updated neither EnergiDataService nor ApexCharts, only HA Core. The code for the graph looks like this:

type: custom:apexcharts-card
apex_config:
  chart:
    height: 200px
  grid:
    xaxis:
      lines:
        show: true
experimental:
  color_threshold: true
graph_span: 24h
header:
  title: Elpriser pr. time (kr/kWh)
  show: true
span:
  start: hour
  offset: "-2h"
now:
  show: true
  label: Nu
yaxis:
  - max: 2
    min: 0
    apex_config:
      tickAmount: 6
series:
  - entity: sensor.energi_data_service
    type: column
    data_generator: |
      var today = entity.attributes.raw_today.map((start, index) => {
        return [new Date(start["hour"]).getTime(), entity.attributes.raw_today[index]["price"]];
      });
      if (entity.attributes.tomorrow_valid) {
        var tomorrow = entity.attributes.raw_tomorrow.map((start, index) => {
          return [new Date(start["hour"]).getTime(), entity.attributes.raw_tomorrow[index]["price"]];
        });

        var data = today.concat(tomorrow);
      } else {
        var data = today
      }
      return data;
    float_precision: 3
    color_threshold:
      - value: 0
        color: 00cc00
      - value: 2
        color: ffdd00
      - value: 3
        color: orange
      - value: 4
        color: red
      - value: 5
        color: darkred
      - value: 6
        color: purple

What am I missing?

reddit.com
u/oz1sej — 2 months ago

VW ID.3 OBD option?

I have a VW ID.3, which was heavily integrated into my Home Assistant. That is, until VW recently closed their API.

​

Has anyone had success pulling data out of e.g. the OBD port and sending them home?

u/oz1sej — 2 months ago
▲ 0 r/webdev

Is it possible to tweak jQuery autocomplete into different behaviours based on user input?

I have a search input field, where users can enter search strings. If users select a result, either with arrow-down and enter or a mouse click, it jumps to that page.

But I want it to send the user to a search result page if the user presses enter without selecting anything. I've done it this way:

$("#searchcamp").autocomplete({
    source: "searchCamp.php",
    minLength: 2,
    response: function( event, ui ) {
        // Redirect user to login page if not logged in
        if( ui.content[0].id == "logout" ) {
            window.location.href="login.php";
        }
    },
    select: function( event, ui ) {
        location.href="showCamp.php?id="+ui.item.id;
    }
});
$("#searchcamp").keydown(function(event) {
    if (event.keyCode == 13) {
        location.href='showCamps.php?s='+document.getElementById("searchcamp").value;
    }
});

However, this keydown part apparently overrules the "select" rule above, and sends the user to the search result page even though a suggestion has been highlighted with the arrow-down key.

How can I make an enter press behave as specified in "select" if a suggestion is highlighted, but send the user to the showCamps.php page if no suggestion is highlighted?

reddit.com
u/oz1sej — 3 months ago
▲ 25 r/FreeCAD

Are STEP files supposed to look like this? I've created some STL files in OpenSCAD I'd like to have manufactured, but all companies need STEP files, so I'm converting my STL files to STEP files using FreeCAD. This is what one of them looks like - this is just a flat plate with holes. Is this ok?

u/oz1sej — 3 months ago