Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Sdk Domoticz Bundle Laravel Package

dodev34/sdk-domoticz-bundle

View on GitHub
Deep Wiki
Context7

Documentation

Installation

with composer

$ composer require dodev34/sdk-domoticz-bundle

Configuration

in you AppKernel file app/AppKenel.php

public function registerBundles()
{
    $bundles = [
        // ...
        new M12U\Bundle\Sdk\DomoticzBundle\M12USdkDomoticzBundle(),
        // ...
    ];
    
    // ...
}

in your config file app/config/config.yml

m12_u_sdk_domoticz:
    username: YOU_USERNAME
    password: YOU_PASSWORD
    base_uri: http://<you ip domoticz address>:8080

Note :

Make sure you have entered a username and password in your Domoticz application

Services

Client name Method Doc
command getSunRiseSet Get sunrise and sunset times
command addLogMessage Add a log message to the Domoticz log
command getLightSwitches Get all lights/switches
command switchLight
command setColbrightnessValue
device getDevices Return list of device(s)
device getDevice Retrieve status of specific device

exemple with log message command

$provider = $container->get('m12u.sdk.domoticz.provider_proxy');
$command = $provider->getClient('command');

$result = $command->addLogMessage("you message here");
// result {"status":"OK","title":"AddLogMessage"}

AddLogMessage

todo: Finish creating the proxy for the rest of the api endpoints official doc for domiticz : https://www.domoticz.com/wiki/Domoticz_API/JSON_URL%27s

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle