Coder Social home page Coder Social logo

ecowitt2weewx's Introduction

Hi there ๐Ÿ‘‹

๐Ÿ’ซ About Me:

๐Ÿ”ญ 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

ecowitt2weewx's People

Contributors

comes avatar djblaik avatar notnullxyz avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ecowitt2weewx's Issues

Unitialised string offset error

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

Failing to retrieve session cookie

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

Error on running export command

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

Dependency non existent

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()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.