You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, only a message is sent to Nextcloud. In the future, the state in Elektra should be changed.
...SensorsChange::Alarm(w) => {
nextcloud_sender
.send(NextcloudEvent::Chat(NextcloudChat::Default,gettext!("Fire Alarm {}", w),)).await?;letmut state = state_mutex.lock().await;
state.set("alarm/fire",&w.to_string());kill(nix::unistd::Pid::from_raw(pid asi32),Signal::SIGHUP)?;spawn(exec_ssh_command(format!("kdb set user:/state/libelektra/opensesame/#0/current/alarm/fire \"{}\"",
w
)));}
...
With that implementation, we get the following error:
pensesame: Kein Prozess gefunden
thread 'tokio-runtime-worker' panicked at 'Set config failed: Sorry, module issued error :: ', src/config.rs:31:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
opensesame: Kein Prozess gefunden
Maybe something in the config Module needs to be changed.
The text was updated successfully, but these errors were encountered:
For now, only a message is sent to Nextcloud. In the future, the state in Elektra should be changed.
With that implementation, we get the following error:
Maybe something in the config Module needs to be changed.
The text was updated successfully, but these errors were encountered: