SK
Signal K2mo ago
jhoop

jhoop - I downloaded the V3 Sensesp project tem...

I downloaded the V3 Sensesp project template and complied it OK. When I go to upload it I get this error Please specify upload_port for environment or use global --upload-port option. I have researched different sites and can't figure out how to clear it. Any help would be greatly apprecitated. Running on a MacOS
7 Replies
Matti Airas
Matti Airas2mo ago
Normally PlatformIO can auto detect the ports. Can you see the device file or COM port appear when you connect the device? Often, the culprit is a bad Micro USB cable.
jhoop
jhoopOP2mo ago
You were right it was a bad cable. Now I can upload to my DOIT KIT V1. But can't seem to connect to 192.168.4.1 on my Android phone. The code is running in the terminal. I (56857006) signalk_ws_client.cpp: Initiating websocket connection with server... W (56860093) ARDUINO: No results found! E (56860094) signalk_ws_client.cpp: No Signal K server found in network when using mDNS service! D (56860094) signalk_ws_client.cpp: Websocket is not connecting to Signal K server because host and port are not defined
Matti Airas
Matti Airas2mo ago
Were you able to connect to the access point properly?
jhoop
jhoopOP2mo ago
Not consistantly and never completly. Here is screen shots of the access point
No description
No description
No description
No description
jhoop
jhoopOP2mo ago
Here is my code
Matti Airas
Matti Airas2mo ago
You should connect your computer (or phone) to the access point created by your SensESP device for the initial configuration.
jhoop
jhoopOP2mo ago
Does my access point and code look OK?

Did you find this page helpful?