opendata-stuttgart / airrohr-firmware-flasher Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Creating of ts file with Ukrainian translation
Feature request:
Add possibility to flash AP username and password.
And maybe advanced mode to flash other information:
credentials for other data hosts (feinstaubapp, aircms and others)
If one can flash AP credentials in user mode then the configuration of a station will be easier. No need to run station in AP mode to enter AP credentials.
If this tool could show the serial debug messages, this would help many beginners to directly check the status, config, current IP etc.
I tried all my USB ports with three different cables. but the flasher keeps telling that no boards are found.
I even tested it on two PCs (Manjaro Linux and Windows 10) but nothing works.
To me.. the installer instructions for airrohr-firmware-flasher is totally unclear.
it stops @ mkvirtualenv -p "$(which python3)" airrohr-firmware-flasher as the command mkvirtualenv doesn't exist.
any suggestions?
Creating Hungarian.ts file for Hungarian translations.
All of a sudden the sensor stopped working. I got it from the balcony, checked if all pins are properly connected, then rebooted and instead of connecting to the wifi network again the sensor created it's own network (airRohr.). When I enter http://192.168.4.1/config, type wifi credentials and press the restart button nothing happens, the airrohr network stays online and the sensor is not connected to the wifi network. Any idea what I am doing wrong and how to fix it? Sensor has been online for more than a year without any problems.
Influx 2.x changed from user/password authentication to tokens which makes it impossible to connect to the sensor.
Suggestion from Wojtek Sańko after internal non-technical workshops in Warsaw.
Also add suggestion to write it down for future reference.
It is not clear how to add build file from local folder.
It is needed for testing purposes . For example when someone sends you build for testing.
Hello, this is the solution for those who cannot use this firmware flasher:
https://forum.sensor.community/t/could-not-open-port-comx-permission-error13/1976
We need to add support for ESP32 based board flashing in order to support Sensor Kit 2.
Suggestion from Wojtek Sańko after internal non-technical workshops in Warsaw.
3 engines detected this file, see Virus Total summary
I get this when I try to upload latest.bin or any other.
When trying to erase: could not open port 'COM4': PermissionError(13, 'Access denied.', None, 5)
Please advice?
I am on win 10, with 64 bit drivers, have another sensor (absolutely the same hardware) and I flashed it with ease.
Today I see my data doesn`t send to sensor.community, but to others APIs (in example: Madavi, OpenSenseMap) works ok. I change from HTTPS to HTTP and now works, but can repair for works with https?
Would be great to have direct sensor-data publishing to MQTT. It would allow for a trivial integration with HomeAssistant, for example.
@jklmnn implemented this as a proxy server https://github.com/jklmnn/airrohr-mqtt but running a separate server feels wrong and inconvenient
I flashed the latest.bin (and also latest_nl.bin, latest_de.bin) as described here:
https://github.com/opendata-stuttgart/airrohr-firmware-flasher
But the webserver / Acces Point doesn't seem to start up. The log after pressing the reset button (I tried it several times):
airRohr: NRZ-2020-129/EN
mounting FS...
failed to open config file.
output debug text to displays...
Connecting to Freifunk-disabled
........................................
output debug text to displays...
Starting WiFiManager
AP ID: airRohr-XXXXXXXX
Password:
scan for wifi networks...
AP Password is:
Starting Webserver... (IP unset)
There is no Access Point / Wifi network visible. Also building with the sensors-software itself (using Arduino IDE) and modifying ext_def.h didnot help. Did I need to set a config? I didn't found any description.
I have an issue while flashing, the tool says "Timed out waiting for packet content" after the connection to the ESP8266 chip was established. The CH340 driver under Win10 is properly installed, the COM port automatically detected. Any idea what to do?
Sometimes I need to flash alpha builds which are not available from dropdown.
I download them manually put in the folder and copy the name to the text box.
It is not a very convenient. Please add an option to flash from URL or from local file.
Current public Linux release was built on Ubuntu 18.04. Difference in glibc version allows it to be only run on Ubuntu 18.04 or newer. We either need to figure out proper static builds, or build on older glibc/libpython version. (Similar issue applies for MacOS, built and tested on High Sierra, in theory would work only on High Sierra and up)
Related:
https://github.com/pyinstaller/pyinstaller/wiki/FAQ#gnulinux
User needs to be in dialout
group on Ubuntu/Debian-based systems to be able to interact with serial ports. Running binary as root (eg. using sudo
) would work, but was discouraged by PyInstaller developers due to some possible temporary directory permissions security issues in case of --onefile
builds, last time I've looked into this.
I use the Chip Type: ESP32D0WDQ6
The ESP32 board is from Joy-IT
https://joy-it.net/en/products/SBC-NodeMCU-ESP32
When trying to flash, I get the error: "chip_id is not supported for esp32"
with other ESP32 boards it works. Somebody can help?
Hello. I just downloaded the latest stable release of the airRohr flasher and I'm struggling to run it on Ubuntu 22.04 LTS. Can you advise me what to do? Not sure where the core was dumped (I can't find it in the cwd) but I'll share it if you tell me where to look for it.
adam@jellyfish:~/Downloads$ ./airRohr-firmware-flasher-0.3.3-Ubuntu_20.04_amd64
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
(airRohr-firmware-flasher-0.3.3-Ubuntu_20.04_amd64:80153): GLib-GIO-ERROR **: 14:14:26.422: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'
Trace/breakpoint trap (core dumped)
Would it be feasible to create and upload a custom config to the SPIFF?
This way wifi and own API settings could be pre-defined.
Options for the GUI that come to my mind are with a checkbox or an additional button (upload custom config).
Editing a JSON (from a template) would be fine, I guess.
The Flasher can't dowload the firmware. I have tried Linux and Windows.
TimeoutError 10060
I'm using airRohr-firmware-flasher-0.3.0-Ubuntu_18.04_amd64 (and I have only used this platform).
About three weeks ago I built my 1st sensor and downloading the latest firmware worked like a charm.
Today, I tried to do the same. Two things went wrong.
This link: https://firmware.sensor.community/airrohr/flashing-tool/airRohr-firmware-flasher-0.3.0-Ubuntu_18.04_amd64 does not work anymore. I had to download the flashing tool from this GitHub.
The flasher tool I managed to download from this GitHub did not load the firmware list. The "Loading firmware list..." message kept showing up at the bottom.
I still managed to get the sensor up and running because of this video that the maintainer made: https://d.inf.re/b/ffc776f1e74faa0ca4f50842e37ec567.webm <-- doing it this way flashed the firmware beautifully and the sensor is now up and running.
I ran the firmware flasher under Linux Debian 10.0 bullseye/sid and found I needed at least the following dependencies alongside the ones mentioned in README.md:
And the following python libs (installed with sudo pip install XXX):
The certifcate for the website has expired on 19th February, thus the tool can't download the latest firmware.
It would be cool to be able to manually add a firmware file, as it looks like it's not the first time this error has broken the tool.
Just build my first kit and used the Airrohr Firmware Flasher for this. Works really easy! But thought I could mention the FOSS project ESP Web Tools. It lets you flash an ESP right from your website with Chromium-based browsers. Projects like WLED, Tasmota, ESPEasy and ESPHome already implemented this.
I work as an UX designer for Nabu Casa, the people that work on ESP Web Tools, Home Assistant and other open source projects. Feel free to ask some questions!
Hi,
is this project still alive? No update for nearly one year and the tool can't download any firmware images, because someone forgot to install a new certificate on https://firmware.sensor.community
Rename the build file name to include underscore sign.
Flashing will not start. There will be an error:
Traceback (most recent call last):
File "/home/informatic/Projects/luftdaten-tools/luftdatentool/utils.py", line 32, in run
File "/home/informatic/Projects/luftdaten-tools/luftdaten-tool.py", line 259, in flash_board
AttributeError: 'NoneType' object has no attribute 'startswith'
ERROR:root:Unhandled exception
Traceback (most recent call last):
File "/home/informatic/Projects/luftdaten-tools/luftdatentool/utils.py", line 32, in run
File "/home/informatic/Projects/luftdaten-tools/luftdaten-tool.py", line 259, in flash_board
AttributeError: 'NoneType' object has no attribute 'startswith'
Attempted to download the prebuilt binary and run it but got this error:
$ '/home/user/Downloads/luftdaten-tool.linux-x64'
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
/usr/lib/gio/modules/libdconfsettings.so: wrong ELF class: ELFCLASS32
Failed to load module: /usr/lib/gio/modules/libdconfsettings.so
GLib-GIO-Message: 21:05:40.956: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
(luftdaten-tool.linux-x64:8832): GdkPixbuf-WARNING **: 21:05:40.982: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/25-unhint-nonlatin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/25-unhint-nonlatin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/25-unhint-nonlatin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/25-unhint-nonlatin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/25-unhint-nonlatin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/25-unhint-nonlatin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/25-unhint-nonlatin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-fonts-persian.conf", line 34: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 36: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 36: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
Fontconfig warning: FcPattern object width does not accept value [70 100)
Segmentation fault (core dumped)
The default powershell for Windows 7 seems to be version 2. So the 'invoke-webrequest' doesn't work.
Maybe its better to use:
if not exist build\cygwin-x86.exe powershell -Command "$WebClient = New-Object System.Net.WebClient; $WebClient.DownloadFile('https://cygwin.com/setup-x86.exe','build\cygwin-x86.exe')"
Hello,
As I understood, the software needs to be flased on the ESP8266 before the sensors are all assembled and mounted in their plance in the drainage pipe...
So, I tried to flash the firmware on the bare board itself, without attaching the other sensors (feinstaub, temperature, ...), and as I uderstood, by default, I should be presented with an SSID named Feinstaubsensor-(board ID number). Unfortunately this does not happen even if the flash was sucessful, according to the application. Is this normal, does the sensors attached need to initialize the firmware then I get the SSID, or there is something wrong with the flash/board?
Hi,
I would like to launch the flasher with the possibility to set the wifi config (user/password) and sensor selection as advertised in the README (https://github.com/opendata-stuttgart/airrohr-firmware-flasher/blob/master/README.md).
Unfortunately, the compiled version for Windows (Release 0.3.2) seems to be missing this fonctionnality.
Do I have to launch the flasher with a specific parameter ?
Thanks!
Installer options can be found at:
https://docs.python.org/3/using/windows.html#installing-without-ui
Currently need to restart device by pressing restart button or power of/on.
Please add an automatic restart after flashing.
Hey guys,
i tried several times to flash my ESP32 CP2102, but the chip_id will not be written.
Is this board not supported or what am i doing wrong?
Thank you
On some of my esp8266 devices occured errors with the WiFi connection. Until now, I always solved it by flashing an empty image on the device like in this tutorial by @ricki-z :
https://github.com/opendata-stuttgart/meta/wiki/EN-Installing-firmware#rm-config-variant-2
It would be nice, if your tool could handle that in the future. The image file of the empty file system can be found here:
Thanks for your work!
The problem comes from here:
`
def on_zeroconf_discovered(self, name, address, info):
"""Called on every zeroconf discovered device"""
# if (name.lower().startswith('feinstaubsensor')
# or name.lower().startswith('nam')
# or name.lower().startswith('smogomierz')
# or name.lower().startswith('airrohr')
# or name.lower().startswith(self.customNameSave)):
item = QtWidgets.QListWidgetItem('{}: {}'.format(address, name.split('.')[0]))
item.setData(ROLE_DEVICE, 'http://{}:{}'.format(address, info.port))
self.discoveryList.addItem(item)`
Feel free to help us.
Option to erase whole flash memory on target board is needed, in case someone loses their authentication password or just settings get corrupted. (occured at least once during workshops in Warsaw)
I get the following error/traceback while trying to discover sensors:
ERROR:root:Unhandled exception
Traceback (most recent call last):
File "/home/user/soft/luftdaten/airrohr-firmware-flasher/luftdatentool/utils.py", line 32, in run
self.target(*self.args, **self.kwargs)
File "/home/user/soft/luftdaten/airrohr-firmware-flasher/luftdatentool/workers.py", line 47, in target
self.zc = zeroconf.Zeroconf()
File "/home/user/.virtualenvs/airrohr-firmware-flasher/local/lib/python3.6/site-packages/zeroconf.py", line 1696, in __init__
socket.inet_aton(_MDNS_ADDR) + socket.inet_aton(i))
OSError: [Errno 105] No buffer space available
Any idea what this is about or if I am missing something on my system?
"buffer space missing" sounds like hardware/driver issues to me, as if it is about allocation by the system.
I tried the following solution unsuccessfully (on Ubuntu 18.04):
https://stackoverflow.com/questions/46727211/oserror-105-no-buffer-space-zeroconf
sudo -i
echo 20 >/proc/sys/net/ipv4/igmp_max_memberships
echo 10 >/proc/sys/net/ipv4/igmp_max_msf
systemctl restart avahi-daemon
Any more things that could be tried?
(.deb extension missing in original download file!)
sudo apt-get install ./airRohr-firmware-flasher-0.3.0-Ubuntu_18.04_amd64.deb
Reading package lists... Error!
E: Sub-process Popen returned an error code (2)
E: Encountered a section with no Package: header
E: Problem with MergeList /home/dusoft/Downloads/airRohr-firmware-flasher-0.3.0-Ubuntu_18.04_amd64.deb
E: The package lists or status file could not be parsed or opened.
sudo dpkg -i ./airRohr-firmware-flasher-0.3.0-Ubuntu_18.04_amd64.deb
dpkg-deb: error: './airRohr-firmware-flasher-0.3.0-Ubuntu_18.04_amd64.deb' is not a Debian format archive
dpkg: error processing archive ./airRohr-firmware-flasher-0.3.0-Ubuntu_18.04_amd64.deb (--install):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
./airRohr-firmware-flasher-0.3.0-Ubuntu_18.04_amd64.deb
make deps dist command throws the following error in Arch Linux
ERROR: Could not find a version that satisfies the requirement pyqt5-sip==4.19.19 (from versions: 12.7.0, 12.7.1, 12.7.2, 12.8.0, 12.8.1, 12.9.0, 12.9.1, 12.10.1, 12.11.0)
ERROR: No matching distribution found for pyqt5-sip==4.19.19
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.