๐ญ Iโm currently working on something you wouldn't expect
๐ค Iโm looking for help with everything
๐ฑ Iโm currently learning something
๐ฌ Ask me about Loom
โก Fun fact is the previous bullet point
convert data from ecowitt to weewx
License: The Unlicense
Hi - on running, I get the following error text:
ErrorException
Uninitialized string offset: 0
at app/Commands/EcowittExportCommand.php:172
168โ protected function getData($stack, $key)
169โ {
170โ return collect(data_get($stack, $key))
171โ ->mapWithKeys(function ($value) {
โ 172โ return [$value[0] => $value[1] ?: null];
173โ });
174โ }
175โ
176โ /**
1 app/Commands/EcowittExportCommand.php:172
Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Uninitialized string offset: 0", "/home/pi/ecowitt2weewx/app/Commands/EcowittExportCommand.php", [""])
+1 vendor frames
3 app/Commands/EcowittExportCommand.php:173
Illuminate\Support\Collection::mapWithKeys(Object(Closure))
Grateful for your help to resolve. I'll be the first to admit, I'm a bit out of my depth with PHP
I've built this but it bails out trying to retrieve session cookie:
Error
Call to a member function getValue() on null
at app/Commands/EcowittExportCommand.php:237
233โ $loginData = $response->json();
234โ
235โ $cookies = $response->cookies();
236โ
โ 237โ return $cookies->getCookieByName('ousaite_session')->getValue();
238โ
239โ }
240โ
241โ /**
1 app/Commands/EcowittExportCommand.php:63
App\Commands\EcowittExportCommand::getSessionId()
+13 vendor frames
15 ecowitt2weewx:37
LaravelZero\Framework\Kernel::handle()
Thanks
Hi - I'm not very experienced in building with Laravel, but I'm getting an error when running "php ecowitt2weewx app:build" as follows:
" ErrorException
rename(/home/ecowitt2weewx/ecowitt2weewx.phar,/home/ecowitt2weewx/builds/ecowitt2weewx): No such file or directory"
Grateful for any help you could offer
Hi
I am not entirely sure, but this seems like a deprecated dep being used.
If you know what to pull in with composer, I will test and submit a PR or is there's something else I am missing?
Stuck here, myself.
Output of execution:
**@Goatbox:~/TMP_ECOWITT_TO_WEEWX/ecowitt2weewx-main# ./ecowitt2weewx export --user ****@protonmail.com --pass mycatsmaidenname 2022-01-01 2023-10-29
Illuminate\Contracts\Container\BindingResolutionException
Target class [Illuminate\Http\Client\Factory] does not exist.
at vendor/illuminate/container/Container.php:916
912โ
913โ try {
914โ $reflector = new ReflectionClass($concrete);
915โ } catch (ReflectionException $e) {
โ 916โ throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
917โ }
918โ
919โ // If the type is not instantiable, the developer is attempting to resolve
920โ // an abstract type such as an Interface or Abstract Class and there is
+10 vendor frames
11 app/Commands/EcowittExportCommand.php:212
Illuminate\Support\Facades\Facade::__callStatic()
12 app/Commands/EcowittExportCommand.php:62
App\Commands\EcowittExportCommand::getSessionId()
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.