Comments (30)
All Work!
Super. Thanks for your super fast feedback!! Will wait a little longer before marking it closed.. perhaps some more user feedback!
from homebridge-smart-irrigation.
Hi @Sergbmw - could you clarify that the problem you are facing of continuous reboots? This is looking like some permission issue on your docker installation. Any other plugins you have installed and is the behaviour normal otherwise?
from homebridge-smart-irrigation.
All other plugins work great
from homebridge-smart-irrigation.
TBH I haven't tried an installation of homebridge on docker so not quite sure where this permission denial to 'mkdir' is coming from - any chance you can try on non-docker environment? The way it looks form your error message - am I correct in assuming that you are not able to install the plugin itself? Or is it that the plugin installs and you are able to configure but when you start it keeps rebooting? I am also assuming that since the installation itself is not proceeding there is no point asking if the plugin is on a child bridge!?
from homebridge-smart-irrigation.
@Sergbmw - could you tell me how you are trying to install? Through the UI or install command? Any other feedback on the previous message?
from homebridge-smart-irrigation.
Good afternoon. I installed the plugin and configured it. But after reloading the Homebridge, if the plugin is not started in a separate bridge, the Homebridge itself does not start.
from homebridge-smart-irrigation.
I already completely uninstalled the plugin and reinstalled it, the same problem
from homebridge-smart-irrigation.
from homebridge-smart-irrigation.
Tried it in different ways, same result.
from homebridge-smart-irrigation.
from homebridge-smart-irrigation.
from homebridge-smart-irrigation.
from homebridge-smart-irrigation.
[4/4/2022, 11:48:46 AM] Homebridge v1.4.0 (HAP v0.10.0) (Homebridge 49FD) is running on port 52434.
[4/4/2022, 11:48:46 AM] [Irrigation] Exposing controls to Homekit...
[4/4/2022, 11:48:46 AM] [Irrigation] Exposed Master Control
[4/4/2022, 11:48:46 AM] [Irrigation] Initialized 1 zones
DEPRECATED user supplied a custom 'mdns' option. This option is deprecated and ignored. Please move to the new 'bind' option.
[4/4/2022, 11:48:46 AM] [Irrigation] Check configuration errors. Currently disabled!
Error: EACCES: permission denied, mkdir '/run/s6/services/homebridge-config-ui-x/homebridge-smart-irrigation'
[4/4/2022, 11:48:46 AM] [Irrigation] Child bridge process ended
[4/4/2022, 11:48:46 AM] [Irrigation] Process Ended. Code: 1, Signal: null
from homebridge-smart-irrigation.
[4/4/2022, 11:49:42 AM] [Irrigation] OWM Key cant be blank! Disabling
[4/4/2022, 11:49:42 AM] [Irrigation] Exposing controls to Homekit...
[4/4/2022, 11:49:42 AM] [Irrigation] Exposed Master Control
[4/4/2022, 11:49:42 AM] [Irrigation] Initialized 1 zones
[4/4/2022, 11:49:42 AM] [Irrigation] Check configuration errors. Currently disabled!
DEPRECATED user supplied a custom 'mdns' option. This option is deprecated and ignored. Please move to the new 'bind' option.
Error: EACCES: permission denied, mkdir '/run/s6/services/homebridge-config-ui-x/homebridge-smart-irrigation'
[4/4/2022, 11:49:42 AM] [Irrigation] Child bridge process ended
[4/4/2022, 11:49:42 AM] [Irrigation] Process Ended. Code: 1, Signal: null
[4/4/2022, 11:49:49 AM] [Irrigation] Restarting Process...
[4/4/2022, 11:49:50 AM] [Irrigation] Launched child bridge with PID 9487
[4/4/2022, 11:49:51 AM] Registering accessory 'homebridge-smart-irrigation.SmartSprinklers'
[4/4/2022, 11:49:51 AM] [Irrigation] Loaded homebridge-smart-irrigation v1.6.0 child bridge successfully
[4/4/2022, 11:49:51 AM] [Irrigation] OWM Key cant be blank! Disabling
[4/4/2022, 11:49:51 AM] [Irrigation] Exposing controls to Homekit...
[4/4/2022, 11:49:51 AM] [Irrigation] Exposed Master Control
[4/4/2022, 11:49:51 AM] [Irrigation] Initialized 1 zones
[4/4/2022, 11:49:51 AM] [Irrigation] Check configuration errors. Currently disabled!
DEPRECATED user supplied a custom 'mdns' option. This option is deprecated and ignored. Please move to the new 'bind' option.
Error: EACCES: permission denied, mkdir '/run/s6/services/homebridge-config-ui-x/homebridge-smart-irrigation'
[4/4/2022, 11:49:51 AM] [Irrigation] Child bridge process ended
[4/4/2022, 11:49:51 AM] [Irrigation] Process Ended. Code: 1, Signal: null
from homebridge-smart-irrigation.
from homebridge-smart-irrigation.
Yes, other plugins have full access, and I run it in a docker Homebridge under the administrator, in theory, I have all access
from homebridge-smart-irrigation.
Hi Sergbmw,
Did you have any luck here? I have the exact same issue and also using docker on Synology nas.
from homebridge-smart-irrigation.
Also using Docker on Synology with DSM 7.1 and having the same issue! Had to disable the plugin.
from homebridge-smart-irrigation.
The root of the issue is, that "'/run/s6/services/*" is not the correct directory for temp files in docker. As there is no individual option for the user to change the folder, it is up to the author to provide the correct setting.
Thank you!
from homebridge-smart-irrigation.
@seppelicous - I'm not an expert when it comes to doing this on the docker but welcome any code updates you think will fix this without breaking non-docker implementation. Happy to incorporate this change but will can't do on my own unfortunately. Requesting expert assistance with this... until then will keep this issue open.
from homebridge-smart-irrigation.
@MTry Thank you for the fast reply. I understand your worries. Some plugin authors add and additional option to individualy change the cached directory. Maybe this would be an option here.
from homebridge-smart-irrigation.
from homebridge-smart-irrigation.
@seppelicous - I am using const cacheDirectory = './homebridge-smart-irrigation/storage'
as temp storage.. what according to you would be suitable for docker? Would you like to fork and experiment with a different value here? If it works for you I'll make this setting a part of configuration to give the user an option to pick the right one..
from homebridge-smart-irrigation.
Edited the title to better reflect the issue here. Still waiting for some guidance on this from docker experts..
from homebridge-smart-irrigation.
Sorry for answering so late!
I checked another discussion with the same issue: benzman81/homebridge-nukiio#27
It seems that the valid cached directory needs to be within "/homebridge". Does your plugin creates a folder while installation?
For a first try it would be fine to an additional setting in the configuration. I will test is immediately
from homebridge-smart-irrigation.
Hello @seppelicous @Sergbmw @OzBMP - big update here. I have adopted the correct generic way to query the permitted cache storage location based on advise from oznu. Hopefully this should fix the problem for any platform including docker - please give it a go and share your feedback!
from homebridge-smart-irrigation.
All Work!
from homebridge-smart-irrigation.
Made a minor update.. so users on platforms where it was earlier working without issues, should not have to reset the control states in Home for their preferences...
Hope this is the last change for this issue and it works for you all!
Thank you so much for your patience and for highlighting this issue which was squarely due to my own error of not following a basic guideline - apologies for the same!
from homebridge-smart-irrigation.
Works also for me! Thank you very much for this! Great job!
from homebridge-smart-irrigation.
@seppelicous Thanks for your feedback!
from homebridge-smart-irrigation.
Related Issues (20)
- Not an Issue, but a question ... HOT 5
- [BUG] HOT 20
- Issue With Setup HOT 3
- Help or Questions HOT 11
- Help or Questions HOT 3
- [BUG] HOT 13
- [FEATURE REQUEST] - Delay Between Zones and Cycles HOT 2
- Choosing hour of irrigation HOT 3
- "Nozzle type" setting etc. HOT 1
- [BUG] HOT 2
- Timer Not Working HOT 5
- Request for new features HOT 1
- API Error - 401 Unauthorised HOT 6
- [BUG] Not pulling sunrise data from API call, retrying every minute HOT 3
- [BUG]
- [BUG] unable to create automations in the home app to trigger of zone state HOT 1
- New features HOT 1
- Help or Questions
- “Run Now” button
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-smart-irrigation.