Hi I am not a java programmer but seeing that some things like api id and secret can and will be changed by the provider (ewelink) is it possible to have these outside the jar file and simply access this when the jar is called - would make it easier for “stupids”· like me to keep it going?
Found somewhere that this is possible … txt would be perfect…
FileInputStream is = new FileInputStream( filePath );
I am going to upgrade from 3.2 to 3.3. and hopefully will have conection again…
a simple txt fime with UTF-8 could solve the cloud problem in future…
Hi
again thanks to all the developers. Upgrade to 3.3 worked snapshot jar is working I have cloud connection.
But it seems when logging in via external device (mob) even with secondary account I get logged out of cloud at ewe.
Has there been a fix released for 2.5? The file uploaded by Viktor Oláh on 19 July does not work for me–after renaming the file, copying it to the addons directory, changing ownership, all I get is the same sonoff log message “UNINITIALIZED to INITIALIZING”. Am I missing something? The device was working before and continues to work with the ewelink app.
Thanks @Jacek_Kaczmarczyk for the recompile with appid/secret changed.
Been a very busy time guys, lots and lots going on so apologies ive not been around.
I’ve moved appid/secret away from hard coded now and will be a default value that can be overridden in your account config. Just getting this compiled at present but having to update my system too.
I know there are probably quite a few of you with devices need adding, ill scan my messages and the thread but to make life easier could you send me the details via DM.
Still not showing binding in PaperUI. If I do the same with the previous release org.openhab.binding.sonoff-2.5.13-SNAPSHOT_2.4r5.jar the binding shows (even without clearing the caches). I’m stumped.
I Haven’t tested 2.5.x as I no longer run an instance of it. I’ll have a look if I get a chance but you should really upgrade to 3.x as this is all I’ll maintain / add features to going forward.