Jump to content

photron

Administrators
  • Gesamte Inhalte

    3.055
  • Benutzer seit

  • Letzter Besuch

  • Tagessiege

    40

Alle erstellten Inhalte von photron

  1. Firmware: WIFI Extension 2.0 2.1.6 Avoid crash when using mesh functions in non-mesh mode Download: WIFI Extension 2.0
  2. Firmware: WIFI Extension 2.0 2.1.6 Crash behoben, wenn Mesh Funktionen aufgerufen werden ohne im Mesh Modus zu sein Download: WIFI Extension 2.0
  3. Firmware: WIFI Extension 2.0 2.1.5 Workaround LED staying off in client mode after enabling the LED again Download: WIFI Extension 2.0
  4. Firmware: WIFI Extension 2.0 2.1.5 Problem umgangen, dass die LED im Client Modus aus bleibt nachdem die LED wieder aktiviert wurde Download: WIFI Extension 2.0
  5. Yes. There are two versions of the Ethernet Master Extension, with and without PoE (Power over Ethernet). The Ethernet Master Extension with PoE allows you to power the stack over the Ethernet cable using a PoE ready switch or a dedicated PoE injector. Resulting in a single cable connecting to the stack. For the Ethernet Master Extension without PoE, you have to power the stack separately for example with a USB power supply connected to the Master Brick. Resulting in two cables running to the stack.
  6. The IMU Brick 2.0 cannot use an Ethernet Extension directly. You'd need to build a stack (bottom to top) of Master Brick, IMU Brick 2.0 and Ethernet Extension. Then you can connect to this stack over Ethernet.
  7. Okay, so it can work. But we still don't know if it is because of the packaging or the different PyQt5 version. You could try building the Brick Viewer .dmg file. For that you need to run "build_pkg.py --no-sign" in the virtualenv. The --no-sign option tells it to not sign the binaries, as you cannot do that on our behalf. Afterwards try the resulting .dmg file that is created in the same directory as the build_pkg.py file. If Brick Viewer from that .dmg has the same OpenGL problem, then it is triggered by the packaging.
  8. Brick Viewer is always optional. It is not necessary for using the different API bindings. The different API bindings use a TCP/IP network connection to talk to the Tinkerforge hardware. If the hardware is connected to USB then Brick Daemon is required for the TCP/IP to USB translation. You can replace the USB connection with a Ethernet or WIFI connection by adding a Ethernet or WIFI Master Extension to the stack. Then the API bindings can connect directly to the hardware over Ethernet or WIFI without the need for Brick Daemon. What does you current hardware setup look like?
  9. Don't worry, the problem is just that MSVC2010 is quite old and has some quirks that you run into now. The C/C++ bindings don't handles those correctly right now. Please add these 3 lines in ip_connection.c at line 55: #if defined _MSC_VER && _MSC_VER < 1900 #define snprintf _snprintf #endif
  10. The PyQt5_sip dependency problem might be related to this line in requirements.txt PyQt5 == 5.11.3 Try changing that to PyQt5 == 5.15.6 or just to PyQt5
  11. No, the problem is with PyQt5_sip, but the version numbers confuse me.
  12. Sorry, I didn't think this through. You're compiling the code as C++. The problem is including stdbool.h there. It should not be included at all for C++ because its a C header. Please remove the stdbool.h file again and change line 24 in ip_connection.h from this #if (!defined __cplusplus && defined __GNUC__) || (defined _MSC_VER && _MSC_VER >= 1600) to this #if !defined __cplusplus && (defined __GNUC__ || (defined _MSC_VER && _MSC_VER >= 1600)) then try again.
  13. VS2010 doesn't support modern C/C++ standards. It just lacks stdbool.h support. Please add the attached stdbool.h file to the same directory that contains ip_connection.h. stdbool.h
  14. Are you using the pre-build .dmg we provide for download? Or are you running brickv from source? If you're using the pre-build .dmg this might be some kind of packaging bug. If you're running from source, then I'm confused. Does it say "OpenGL library not found. Disabling 3D view." in the bottom on the brickv window? You can see from the code here, that this message is triggered by the ctypes.util.find_library('OpenGL') call returning None: https://github.com/Tinkerforge/brickv/blob/2e4a03ec4d5429144febe7d4a4eb2ed3e0503dd8/src/brickv/render_widget.py#L42 https://github.com/Tinkerforge/brickv/blob/2e4a03ec4d5429144febe7d4a4eb2ed3e0503dd8/src/brickv/render_widget.py#L100 So I don't really understand why that call works if you try it by hand, but doesn't seem to work in brickv. If you're currently using the pre-build .dmg, could you try running from source to see if this makes a difference?
  15. Ich kann das hier auch nachstellen. Da haben wir einen Bug eingebaut. Sorry! Wir gehen dem nach. Danke fürs melden.
  16. Auf welchem Commit in esp32-firmware Repository arbeitest du denn? Das ist interessant. Wir gehen dem gleich mal nach. Nicht das wir im Zuge des Umbaus da einen Bug eingefangen haben.
  17. Ich kann In JavaScript (Node.js und Browser) folgendes hinschreiben: rs232.write('\xAA\x00\x00\x20\x00\x01\x00\x04\x25'.split('')) und das sendet die Daten wie erwartet.
  18. I don't have macOS 12 at hand for testing. It works on macOS 10.15.7. We're using just Qt with directly loading the low level operating system OpenGL library. This is due to problems with the wrapping of the QtOpenGL module in PyQt at the time of developing this code. You can find the relevant code here: https://github.com/Tinkerforge/brickv/blob/master/src/brickv/render_widget.py Try running this two lines in Python on you Mac: import ctypes.util ctypes.util.find_library('OpenGL') I assume that the find_library call returns None for you, meaning it cannot find the system's OpenGL library. It's unclear to me why. In the long run we might just switch from OpenGL to Qt3D for this.
  19. Wenn du in Brick Viewer oder den Python Bindings einfach "AA 80 00 00 80" hinschreibst, dann wird dadurch ein A, ein A, ein Leerzeichen, eine Null, eine Null und so weiter gesendet. Für das RS485 Bricklet hat Brick Viewer eine Hex Modus für das Senden. Das hat Brick Viewer allerdings nicht für das RS232 Bricklet 2.0. Ich nehme das mal auf die TODO Liste mit auf das nachzubessern. Aktuell kannst du daher über Brick Viewer keine Binärdaten über das RS232 Bricklet 2.0 senden. In deine Python Programm musst du aber einfach nur die Daten passend hinschreiben. Anstelle von "AA 80 00 00 80" kannst du "\xAA\x80\x00\x00\x80" hinschreiben in Python und dann tut das was du möchtest.
  20. Ich habe die Idee mal hier aufgenommen: https://github.com/Tinkerforge/esp32-firmware/issues/76 Interessant wäre dazu mal deinen Anwendungsfall zu hören, damit wir die Umsetzung besser planen können.
  21. Wir haben auf dem HAT Brick vor kurzem den RTC Chip gewechselt, weil der alte nicht mehr zu bekommen war. Aktualisiere bitte die Firmware des HAT Bricks auf die neueste Version 2.0.3. Dann brauchst du Brick Viewer 2.4.20. Dann kannst du auf dem HAT Brick Tab den RTC Driver von PCF8523 auf DS1338 umstellen. Danach am Besten den ganzen Aufbau einmal vom Strom trennen. Danach sollte die RTC dann funktionieren.
  22. Sorry, das ist beides leider technisch nicht möglich. Die aktuelle Elektronik der Wallbox unterstütz das Verriegeln einer Typ2 Dose nicht. Als NFC Leser setzen wir in der Wallbox unser NFC Bricklet ein. Es ist nicht vorgesehen einen externen NFC Leser anzubinden
  23. Nein, da war ein Fehler im Programm für den Fall das es von der Kommandozeile gestartet wurde. Den habe ich behoben.
  24. Stimmt, beim Outdoor Weather Bricklet gibt es nur das Callback Beispiel. Normalerweise gibt es auch immer ein Simple Beispiel das mit einem Getter Aufruf arbeitet. Zum Beispiel, das hier für das Ambient Light Bricklet 3.0: https://www.tinkerforge.com/de/doc/Software/Bricklets/AmbientLightV3_Bricklet_PHP.html#simple So ein Beispiel fehlt für das Outdoor Weather Bricklet. Ich nehme das mal auf die TODO Liste auf.
×
×
  • Neu erstellen...