ddtlabs / netio230 Goto Github PK
View Code? Open in Web Editor NEWFhem Module To Control Koukaam NETIO-230 A/B/C PDU Series
License: GNU General Public License v2.0
Fhem Module To Control Koukaam NETIO-230 A/B/C PDU Series
License: GNU General Public License v2.0
Why not simply implement the fix instead of having people dig the internet for solutions ?
Antw:Cannot load module NETIO230
« Antwort #5 am: 23 Februar 2018, 08:30:26 »
Meine Güte, was habe ich denn da verzapft?
Leider kann ich es nicht testen, zZ. habe ich weder ein NETIO230, noch Perl >5.18 zum Testen.
Aber tausch mal bitte die ganze foreach Schleife (Zeile 136-141) aus:
Code: [Auswählen]
foreach my $num ( @{$hash->{SOCKETS}} ) {
$sysCmds{"port_wd_$num"} = "socket$num"."wd";
$sysCmds{"port_setup$num"} = "socket$num"."setup";
$sysCmds{"port_timer$num"."_dt"} = "socket$num"."_timer"; #label:date+time
}
Edit: Bitte verschieb den Thread nach "Sonstiges", Codeschnipsel ist dafür nicht gedacht.
« Letzte Änderung: 23 Februar 2018, 08:41:46 von dev0 »
Pretty sloppy job for a "Hero Member" don't you think ?
Hey!
Could you implement a toggle function in addition to on/off? That would be awesome!
Thanks a lot!
Stephan
Please implement a function to sync FHEMs time to the NETIO230. Sadly the dailight saving settings are not very flexible, and the module floods the log once the time is off by more than 2 minutes.
I get the following error message:
reload: Error:Modul 24_NETIO230 deactivated: Experimental keys on scalar is now forbidden at ./FHEM/24_NETIO230.pm line 136.
Stackoverflow tells:
"This was added in Perl 5.14 but removed in 5.23:
Experimental %s on scalar is now forbidden (F) An experimental feature added in Perl 5.14 allowed each, keys, push, pop, shift, splice, unshift, and values to be called with a scalar argument. This experiment is considered unsuccessful, and has been removed. The postderef feature may meet your needs better."
Thus, this module cannot be used in the current state using Perl 5.23 or later,
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.