Dashboard
# help
s
What happened to the Dashboard, where you could see your devices and play around, can't seem to find it anymore.
f
We are migrating away from Toitware hosted services, towards a model "v2". The old v1 service is still accessible under auth.toit.io, but we recommend to start using our Toit v2 alpha instead. The v2 Toit code is now open source, and can be adapted for similar use cases as our v1, and many of our customers do exactly that. However, we are also working on a tool to manage fleets from the command line. Contrary to v1, the broker would not be owned by us, but would be a Supabase or MQTT server owned by the client.
s
For someone not using Toit everyday, the hosted services are really nice so I'm sad to hear they are going away
f
We will see if we can do some hosting for smaller projects, but setting up a Supabase account would only be a few clicks.
Fundamentally you would start with Jaguar anyway. You would need a broker only if you want to deploy your device in a different WiFi network.
s
Tried to get my device to work with 'jag' guess that's what you mean by v2, but couldn't get it to work. Seems to work fine using the services (v1)
f
Can you provide more details on what went wrong with Jaguar?
s
This is what I'm seeing, when trying to use 'jag' PS C:\Projects\toit\HelloWorld> jag flash --wifi-ssid * --wifi-password * Flashing device over serial on port 'COM4' ... esptool.py v3.0 Serial port COM4 Connecting........_____....._____.... Chip is ESP32-D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 24:0a:c4:af:48:50 Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. Configuring flash size... Auto-detected Flash size: 4MB Compressed 16592 bytes to 11412... Wrote 16592 bytes (11412 compressed) at 0x00001000 in 0.1 seconds (effective 967.3 kbit/s)... Hash of data verified. Compressed 3072 bytes to 165... Wrote 3072 bytes (165 compressed) at 0x00008000 in 0.0 seconds (effective 2227.3 kbit/s)... Hash of data verified. Compressed 1363728 bytes to 829410... Wrote 1363728 bytes (829410 compressed) at 0x00010000 in 11.3 seconds (effective 961.5 kbit/s)... Hash of data verified. Compressed 8192 bytes to 31... Wrote 8192 bytes (31 compressed) at 0x0000d000 in 0.0 seconds (effective 7092.9 kbit/s)... Hash of data verified. Compressed 65536 bytes to 84... Wrote 65536 bytes (84 compressed) at 0x002b0000 in 0.0 seconds (effective 55145.2 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... PS C:\Projects\toit\HelloWorld>
PS C:\Projects\toit\HelloWorld> jag scan Scanning ... Error: didn't find any Jaguar devices PS C:\Projects\toit\HelloWorld> PS C:\Projects\toit\HelloWorld> jag monitor Starting serial monitor of port 'COM4' ... ets Jun 8 2016 00:22:�ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:320 load:0x40078000,len:13216 load:0x40080400,len:2964 entry 0x400805c8 E (577) psram: PSRAM ID read error: 0xffffffff E (577) spiram: SPI RAM enabled but initialization failed. Bailing out. [toit] INFO: starting [toit] DEBUG: clearing RTC memory: invalid checksum [wifi] DEBUG: connecting [wifi] DEBUG: connected [wifi] INFO: network address dynamically assigned through dhcp {ip: 192.168.0.229} [jaguar] INFO: running Jaguar device 'shiny-disk' (id: '98e3b658-4b70-4f50-81cc-31d871523d36') on 'http://192.168.0.229:9000' If I browse to 'http://192.168.0.229:9000' I do get the 'Jaguar device' web page. Any ideas what is missing...
f
Your might not be in the same network. Jaguar finds devices using UDP broadcast packets. They might not be forwarded if you are in different networks.
You can shortcut the discovery by giving Jaguar the address directly:
jag scan 192.168.0.229
s
jag scan 192.168.0.229 seems to work... weird though, should be on the same network Ethernet adapter Ethernet: Connection-specific DNS Suffix . : localdomain Link-local IPv6 Address . . . . . : fe80::118b:c058:fa6d:cd4a%20 IPv4 Address. . . . . . . . . . . : 192.168.0.106 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.1
f
Maybe windows or some firewall is blocking the packets
s
Could be...thanks
2 Views