Hi everyone!
I have an issue with my project https://github.com/stscde/modbus-esp8266-solaredge after updating to platformio 6.0.1. The issue also persists after updating to 6.0.2b1. I am on Windows 10.
The following output shows the issue when I try to install the project as a library. I use the following library in platformio.ini and library.json (see below) https://github.com/emelianov/modbus-esp8266.git. When the PlatformIO library manager downloads the library it seems not be able to extract the https protocol correctly. Instead it adds some kind of library path or name in the protocol parameter.
PS C:\Users\Stefan\Documents\PlatformIO\Projects\modbus-esp8266-solaredge-monitor> pio pkg install -l https://github.com/stscde/modbus-esp8266-solaredge.git
Resolving nodemcuv2 environment packages...
Library Manager: solaredge_modbus_arduino@0.0.1+sha.59c5382 is already installed
Library Manager: Installing git+emelianov/modbus-esp8266=https://github.com/emelianov/modbus-esp8266.git
git version 2.33.0.windows.2
Cloning into 'C:\Users\Stefan\.platformio\.cache\tmp\pkg-installing-r9jf25h3'...
fatal: protocol 'emelianov/modbus-esp8266=https' is not supported
Error: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', 'emelianov/modbus-esp8266=https://github.com/emelianov/modbus-esp8266.git', 'C:\\Users\\Stefan\\.platformio\\.cache\\tmp\\pkg-installing-r9jf25h3']
PS C:\Users\Stefan\Documents\PlatformIO\Projects\modbus-esp8266-solaredge-monitor>
platformio.ini
[platformio]
[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino
lib_deps = https://github.com/emelianov/modbus-esp8266.git
monitor_speed = 115200
upload_speed = 921600
library.json
{
"name": "solaredge_modbus_arduino",
"version": "0.0.1",
"description": "Wrapper library for reading values from SolarEdge inverters connected meter no. 1 and battery no 1 without going to deep into Modbus insights.",
"keywords": "SolarEdge, Modbus, Arduino, ESP8266",
"repository": {
"type": "git",
"url": "https://github.com/stscde/modbus-esp8266-solaredge.git"
},
"authors": [
{
"name": "Stefan Schroeder",
"email": "schroeder-s@email.de",
"maintainer": true
}
],
"dependencies": [
{
"name": "emelianov-modbus-esp8266",
"version": "https://github.com/emelianov/modbus-esp8266.git#master"
}
],
"frameworks": "*",
"platforms": "*",
"examples": [
{
"name": "ReadAllValuesExample",
"base": "examples/ReadAllValues",
"files": [
"ReadAllValuesExample.cpp"
]
}
],
"build": {
"libArchive": false,
"flags": [
"-I include/",
"-I src/"
]
}
}
I already checked the latest docs for lib_deps and “dependencies”. Seems my settings match the docs.
Any help is appreciated.
Best wishes
Stefan